Open eldyvoon opened 8 years ago
I've seen a similar error: Missing access_token URL parameter.
. It was fixed by adding one line to_request_
in class.instagram.js
:
options['headers']['Content-Length'] = post_data.length;
options['headers']['Content-Type'] = 'application/x-www-form-urlencoded'; // this is the new line
I think this project might be abandoned, but if not I'm happy to do a PR.
Looks like with
Instagram.set('access_token', IG_TOKEN)
instead of client_id
and client_secret
, you can set the access token. But you need to get your access token by some other ways.
I got this error executing below code :
OAuthParameterException occurred: Missing client_id or access_token URL parameter. in _request