jsOAuth Post Error

58 views
Skip to first unread message

Jonathan

unread,
Sep 17, 2012, 11:54:27 PM9/17/12
to jso...@googlegroups.com
Hello, 

I get an error anytime I do a post like - oauth.post('http://api.twitter.com/1/account/end_session.json', function(){alert('succes')}, function(){alert('fail')});

Error

  • line: 1
  • message: "'null' is not an object (evaluating 'query.sort')"
  • sourceId: 4608370176
  • sourceURL: "/jsOAuth-1.3.6.min.js"
  • __proto__: Error
I have the access tokens set. I can make a GET request successfully - oauth.get('https://api.twitter.com/1/statuses/home_timeline.json?count=10'); 
But can't make any POST requests.

Any help appreciated!





Rob Griffiths

unread,
Sep 18, 2012, 2:57:49 AM9/18/12
to jso...@googlegroups.com
Hi Jonathan,

I'm aware of the issue. Turns out a recent pull request broke 1.3.6. I'll try to resolve this before the end of the week. In the mean time the previous version should work.

Rob Griffiths

unread,
Sep 18, 2012, 4:35:29 AM9/18/12
to jso...@googlegroups.com
I've rolled back the buggy code in 1.3.6 and re-released that version.

Jonathan

unread,
Sep 18, 2012, 5:20:05 AM9/18/12
to jso...@googlegroups.com
Awesome. Thanks for your help!
Reply all
Reply to author
Forward
0 new messages