Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Likes not loading on photos from private accounts using Instagram API

Tags:

api

instagram

Likes not loading on photos from private accounts using the Instagram API. Same access token works fine to load likes on photos from non private accounts. The user for this access token is following the private account and can see the profile and photos just fine. It displays this error:

{
    "meta": {
        "error_type":"APINotFoundError",
        "code":400,
        "error_message":"invalid media id"
    }
}
like image 671
zachallia Avatar asked Dec 05 '13 22:12

zachallia


1 Answers

It is an actual Instagram API bug on this endpoint, not specific to a token or a client id. I reproduced this easily, setting my account as private and testing on several services (such as statigram or webstagram). And if a set my account as public, all is ok.

We have reported this issue using the bug tool (from http://instagram.com/developer/clients/manage/). We have thousands of examples of this, so it seems to be global.

I hope it will be fixed soon. It is not the most critical endpoint of the API, but of course it is better if it runs ;-)

like image 74
Sylvain Avatar answered Oct 27 '22 02:10

Sylvain