Instagram-PHP-API
Instagram-PHP-API copied to clipboard
public_content is now an Instagram permission
This breaks existing applications because access tokens obtained through this library are no longer valid. Also, it causes an error when you try to get a new login URL with this:
Instagram::getLoginUrl(['basic', 'public_content'])
Apparently the library doesn't recognize public_content
as one of the scopes yet.
@anchetaWern Take a look at https://github.com/Bolandish/Instagram-Hashtag-API if you want to query images by hashtags without the public_content permission :)
Experiencing the same issue.. Any updates?
To fix that just look at the Instagram.php file, line 74 and replace the current line for this new one:
private $_scopes = array('basic', 'likes', 'comments', 'relationships', 'public_content', 'follower_list');
And all will work with the $scope parameter when you ask for login url.
Kind Regards,
Gabriel Pires