Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media.like function is broken - small fix #20

Open
timhuff opened this issue Oct 13, 2013 · 0 comments
Open

media.like function is broken - small fix #20

timhuff opened this issue Oct 13, 2013 · 0 comments

Comments

@timhuff
Copy link

timhuff commented Oct 13, 2013

At the start of the media.like function, you have the _credentials code running on an empty object (explicitly {}). This should be params instead. Was getting an OAuthParameterException. Changed line 49 of class.instagram.media.js from

params['post_data'] = this.parent._credentials({}, 'access_token');

to

params['post_data'] = this.parent._credentials(params, 'access_token');

and everything works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant