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

OAuthAccessTokenException

Open BrunoQuaresma opened this issue 9 years ago • 4 comments

Instagram.set('client_id', 'some');
Instagram.set('client_secret', 'foo');

Instagram.tags.info({
  name: 'blue',
  complete: function(data){
    console.log(data);
  }
});

show

OAuthAccessTokenException occurred: The access_token provided is invalid. in _request

BrunoQuaresma avatar Apr 09 '16 15:04 BrunoQuaresma

Set up your access-token before the query: Instagram.set("access_token", YOUR-TOKEN);

The Instagram API had been changed, and the module is a bit out outdated.

gitMisi avatar Apr 17 '16 21:04 gitMisi

@BrunoQuaresma did you figure it out?

iamskok avatar Apr 27 '16 07:04 iamskok

This require a lot of manual setup, including defining scope which isn't part of the official documentation

mrkrumhausen avatar Jul 17 '16 19:07 mrkrumhausen

where do I find access token?

eldyvoon avatar Aug 19 '16 07:08 eldyvoon