Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram api response with empty data array

Tags:

api

instagram

My problem is that i get an empty array from instagram api. i made the app this week and i know its a sandbox app but the problem is that i'm testing it just on my instagram account. i can like my pictures using the api. but i get empty array when i try to get recent tags, follower or followed-by even if i'm using the new scope follower_list this is the array that i get:

stdClass Object
(
    [pagination] => stdClass Object
        (
        )
    [meta] => stdClass Object
        (
            [code] => 200
        )
    [data] => Array
        (
        )
)
like image 697
ler Avatar asked Nov 25 '15 11:11

ler


People also ask

Does Instagram API still work?

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.

What data does Instagram API provide?

The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts. The API can be used to access any type of Instagram account but only provides read-access to basic data.


1 Answers

Instagram require you to submit your app for "review and approval" to gain access to non-basic permission scopes (eg accessing media from other users).

Their docs on this are here >> https://www.instagram.com/developer/review/

like image 120
Jack F Avatar answered Oct 04 '22 03:10

Jack F