Skip to content

OAuthPermissionsException: This client has not been approved to access this resource. #111

@Jazcash

Description

@Jazcash

Simple node.js script:

var ig = require('instagram-node').instagram();
 
ig.use({ access_token: 'blahblahblah' });

ig.location('214991417', function(err, result, remaining, limit) {
    console.log(err);
});

Returns:

{ Error: OAuthPermissionsException: This client has not been approved to access this resource.
    at handle_error (C:\Users\user\Desktop\node_modules\instagram-node\lib\instagram.js:242:19)
    at C:\Users\user\Desktop\node_modules\instagram-node\lib\instagram.js:1246:16
    at IncomingMessage.<anonymous> (C:\Users\user\Desktop\node_modules\instagram-node\lib\instagram.js:197:18)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
  code: 400,
  error_type: 'OAuthPermissionsException',
  error_message: 'This client has not been approved to access this resource.',
  retry: [Function: retry] }

Any idea what the problem is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions