Open H1r1n opened 6 years ago
To fix the Cannot read property 'id' of undefined issue for Instagram, because the user is undefined, change this line 487 url = Feed.instagram.api + 'users/search/?q=' + username + '&' + authTokenParams + '&count=1' + '&callback=?';
with this line: url = Feed.instagram.api + 'users/self/?' + authTokenParams + '&count=1' + '&callback=?';
and the Instagram should work again
I get an error from line 513. var url = Feed.instagram.api + 'users/' + user.id + '/media/recent/?' + authTokenParams + '&' + 'count=' + options.instagram.limit + '&callback=?';
How can that be fixed?
As from the update of the Instagram API endpoints you can no longer get the posts from other users. So you should change the request URL to match YOUR user ( the one that you have Auth token from) . Change the current one: var url = Feed.instagram.api + 'users/' + user.id + '/media/recent/?' + authTokenParams + '&' + 'count=' + options.instagram.limit + '&callback=?';
With this: var url = Feed.instagram.api + 'users/self/media/recent/?' + authTokenParams + '&' + 'count=' + options.instagram.limit + '&callback=?';
The Instagram is not working because of the new API endpoints. Will there be a new fixed version for this?