Skip to content

User info requires access_token #8

@scttnlsn

Description

@scttnlsn

I am getting an "Error: APINotAllowedError: you cannot view this resource" when requesting user info. When I monkey patch the info function to include the access_token things seem to work fine.

Instagram.users.info = function(params) {
  var credentials;
  credentials = this.parent._credentials(params, 'access_token');
  params['path'] = "/" + this.parent._api_version + "/users/" + params['user_id'] + "?" + (this.parent._to_querystring(credentials));
  return this.parent._request(params);
};

http://instagram.com/developer/endpoints/users/#get_users

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions