TwitterJSClient icon indicating copy to clipboard operation
TwitterJSClient copied to clipboard

postCustomApiCall adds the params to the url

Open cshtdd opened this issue 9 years ago • 1 comments

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)

cshtdd avatar Mar 02 '16 15:03 cshtdd

+1

sskylar avatar Oct 04 '16 21:10 sskylar