-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels