Skip to content
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

getting empty thumbnail when getting by media url #1

Closed
wrinkleydog opened this issue May 12, 2016 · 4 comments
Closed

getting empty thumbnail when getting by media url #1

wrinkleydog opened this issue May 12, 2016 · 4 comments

Comments

@wrinkleydog
Copy link
Contributor

Whenever I use getMediaByUrl(), the thumbnail is not being returned in the array. Looks like all the other fields are properly pulled. Using getMedias on a specific user returns the thumbnail in the array.

Example: $media = $instagram->getMediaByUrl('https://www.instagram.com/p/BFJUXJ7RdN1/'); will return the array for this post, but thumbnailurl is empty.

However, $medias = $instagram->getMedias('instaui', 10); Will return 10 posts, one of which is BFJUXJ7RdN1 (post above) and it contains the proper thumbnailurl.

Thanks!

@raiym
Copy link
Member

raiym commented May 13, 2016

@wrinkleydog I see that you have already resolved it.
It would be cool if we merge your code!

@wrinkleydog
Copy link
Contributor Author

Sure thing!!

Do you want me to do a pull request?

Great job on this library! I really like how you approached this.

Chris

On May 13, 2016, at 12:01 AM, Raiymbek Kapishev [email protected] wrote:

@wrinkleydog I have found that you have already resolved it.
It would be cool if we merge your code!


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@raiym
Copy link
Member

raiym commented May 13, 2016

@wrinkleydog of course. Pull request would be cool!!

Thank you!

@raiym raiym closed this as completed May 13, 2016
@raiym raiym reopened this May 13, 2016
@raiym
Copy link
Member

raiym commented May 13, 2016

I will close after release

@raiym raiym added the bug label May 13, 2016
@raiym raiym closed this as completed May 13, 2016
raiym pushed a commit that referenced this issue Oct 17, 2017
Added feature to get followers of an account
@Vaziria Vaziria mentioned this issue Feb 19, 2018
raiym pushed a commit that referenced this issue Mar 14, 2018
raiym pushed a commit that referenced this issue May 29, 2018
@henzan02 henzan02 mentioned this issue Dec 29, 2019
raiym pushed a commit that referenced this issue Aug 18, 2020
Fix fatal error <Undefined index: has_next_page>
This was referenced Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants