Mediaastat endpoint not working - Invalid Media ID

I try to use https://www.instagram.com/developer/endpoints/media/ , but for each media identifier I use, I always get the same result:

{
    "meta": {
        "error_type": "APINotFoundError",
        "code": 400,
        "error_message": "invalid media id"
    }
}

I get the media id from another api service, for example:

https://api.instagram.com/oembed?url=http://instagr.am/p/fA9uwTtkSN/ .

Thus, in the response we can see `` media_id '': “558717847597368461_9538472”, then I use this identifier at the media endpoint and get an “invalid media identifier”.

I was wondering if the api has any problems or maybe I missed something.

+4
2

, !

, , Sandbox ? Instagram API. "", Sandbox.

, Instagram! .

, !

+11

, , , , . .

+3

Source: https://habr.com/ru/post/1619237/


All Articles