You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to fetch the user's Instagram profile pictures but all I get back is a green background with a * in the middle. Checking the source code on your repo I can see that the function publicSearch(username) works when I manually fetch the data but it doesn't seem to be called anywhere at all.
This can easily be demonstrated on your own demo site where you can also see that skype is possibly facing the same issue.
The text was updated successfully, but these errors were encountered:
The publicSearch strategy is used here. However it would seem that instagram is detecting requests from this service and serving up the login page instead of the expected response.
I've been looking for a workaround for a while now without success.
I've dug into the responses and managed to get something working for my website. It's not 100% perfect because I got some users complaining that they are getting the wrong profile picture from Instagram.
Here's my workaround, might be helpful for you to come up with a work around perhaps.
Basically, I search for the user JSON data with their instagram handle, I get an array back but usually the object at the first index is an exact match to the handle provided. I then just access that object's user.profile_pic_url and then use that link as the profile picture.
I'm trying to fetch the user's Instagram profile pictures but all I get back is a green background with a * in the middle. Checking the source code on your repo I can see that the function publicSearch(username) works when I manually fetch the data but it doesn't seem to be called anywhere at all.
This can easily be demonstrated on your own demo site where you can also see that skype is possibly facing the same issue.
The text was updated successfully, but these errors were encountered: