Open samtgarson opened 9 years ago
Not all methods pass all the params to the query string.
For example, in users.follows:
users.follows
InstagramUsers.prototype.follows = function(params) { var credentials; credentials = this.parent._credentials({}, 'access_token'); params['path'] = "/" + this.parent._api_version + "/users/" + params['user_id'] + "/follows?" + (this.parent._to_querystring(credentials)); return this.parent._request(params); };
The _credentials function does not get passed the params object as in other methods, but instead gets {}. This can be solved (I think!) replacing {} with params.
_credentials
params
{}
Not all methods pass all the params to the query string.
For example, in
users.follows
:The
_credentials
function does not get passed theparams
object as in other methods, but instead gets{}
. This can be solved (I think!) replacing{}
withparams
.