I'm authenticated with Instagram, and I got an access token with scope follower_list
. Then I tried to get my followers list:
https://api.instagram.com/v1/users/self/followed-by?access_token=123.456
and all I got was an empty array, like following
{
"pagination": {},
"meta": {
"code": 200
},
"data": []
}
I don't really know if this is a problem from Instagram side or this is an expected behavior since I'm on Sandbox mode (although the documentation says I can expect to get real data even on Sandbox mode)
On the 29th of June, 2020, Instagram will stop using the old API (“Basic Permission”) to display photos from personal Instagram accounts to widgets. 3rd party apps using this, current API will no longer be able to display photos from your account if they don't switch to the new API after this date.
Facebook and Instagram replaced their old API with a new one called Graph API. It is now the primary way for apps to read and write to the Facebook social graph. All of their SDKs and products (including Instagram) interact with the Graph API in some way, and their other APIs are extensions of the Graph API.
This is expected behavior.
In sandbox mode you will only get data from you and your sandbox users.
Add one of your followers to your sandbox, then only that user will be in API response. Once you go live, all users will be in API response.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With