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

postCustomApiCall adds the params to the url #37

Open
cshtdd opened this issue Mar 2, 2016 · 1 comment
Open

postCustomApiCall adds the params to the url #37

cshtdd opened this issue Mar 2, 2016 · 1 comment

Comments

@cshtdd
Copy link

cshtdd commented Mar 2, 2016

twitter.postCustomApiCall('/statuses/update.json', {status:'test'}, error, success)

calls this.oauth.post with https://api.twitter.com/1.1/statuses/update.json?status=test
as opposed to what should be the correct way https://api.twitter.com/1.1/statuses/update.json

a workaround so far has been using doPost in the following way

twitter.doPost(twitter.baseUrl + '/statuses/update.json', {status:'test'}, error, success)

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

2 participants