php-snapchat
php-snapchat copied to clipboard
How to get media Id for download a picture or video ?
Hello, how to get the media id to retrieve a video or picture? The documentation is not very clear about this, in the example ('122FAST2FURIOUS334r), the media id used comes from where?
// Download a specific snap: $data = $snapchat->getMedia('122FAST2FURIOUS334r'); file_put_contents('/home/jorgen/snap.jpg', $data);
I get my good flow yet is there some media id empty :/
Thank you for your help
You have to use the media id of the snap you want to download.