-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specific story's thumbnail #45
Comments
Did you try |
Ya, I have tried on $snapchat->getFriendStories(). |
That's odd, I managed to get the story thumbnail using that function. Try to save the result as a .png using |
I am really not clear about your message. |
From the function media_id Put them in $s = new Snapchat("username","password");
$story = $s->getFriendStories();
$data = $s->getStoryThumb($story[0]->media_id, $story[0]->media_key, $story[0]->thumbnail_iv);
file_put_contents('thumbnail.png', $data); I hope this helps. |
Thanks a lot for your support. I am trying and will update you very soon |
As per your previous message. I am using very old version. Can you please send latest API zip file with functions declaration? I will be too much grateful to you. Thanks in advance |
Here: (The download link is also on the front page of the repo) |
Thanks for response. But I downloaded exactly this files. Here many functions may be old. That's why, I asked for newer one. Like the functions you provided me..... This is absent there. Any way, I used the above function, have been success to create image. But it's a blank image(fully black). My code is here. $snapchat = new Snapchat('my_username', 'my_password'); I know, I am disturbing you so much. Sorry for that. Thanks |
Dear, Thanks in advance |
Dear,
The code for specific story's thumbnail ......
$data = $snapchat->getStoryThumb('[story_media_id]', '[story_key]', '[thumbnail_iv]');
For a common story, [story_key] is absent. I have used here media_key instead of story_key. Is this right?
But still I am not getting any results for thumbnail. It returns like this
87Á���äÿa)ß�kä„ÙEËe»eØm"Œ%JÁþó§|gÅëðâaÛdתv�„_Ó{�óPN»i� =‡ýä³X¯PŽ*ä23¾�Sr�æ��S¨}ŒI&;Å�ÈÆ\òkf¸ñ�U¬
What should I do now?
The text was updated successfully, but these errors were encountered: