node-instagram icon indicating copy to clipboard operation
node-instagram copied to clipboard

"error_type": "OAuthAccessTokenException", "error_message": "The access_token provided is invalid"

Open RustamDR opened this issue 5 years ago • 3 comments

A new api has appeared in Instagram graph.instagram.com. Current workflow in the library gives correct user code and access_token, but with scope: ["user_profile","user_media"].

Obtained access_token works fine with new api (responds with user`s media content): https://graph.instagram.com/me/media?fields=id,media_url&access_token=....

But old request throws error: instagram.get("users/self/media/recent") {"meta": {"code": 400, "error_type": "OAuthAccessTokenException", "error_message": "The access_token provided is invalid."}}

It would be nice to switch between base urls or rework private Instagram properties as protected to control api base url in extended class.

RustamDR avatar Aug 22 '20 22:08 RustamDR

It won't work becasuse it is deprecated

Neisser avatar Sep 29 '20 16:09 Neisser

so does this package works with the new instagram API?

mylastore avatar Nov 15 '20 07:11 mylastore

so does this package works with the new instagram API?

I dont think so

mdhishaamakhtar avatar Nov 22 '20 08:11 mdhishaamakhtar