You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, I have forked oauth and ntwitter and implemented the fix in oauth. That is quite hacky and the reason why I didn 't do a pull request of it. The change could break oauth in other library apart from twitter.
Op 27-sep.-2012, om 02:10 heeft David Lee het volgende geschreven:
Has the issue been resolved? Any solutions? I tried copying and pasting your solution, but it still didn't work:
var url = stream_base + '/' + escape(method) + '.json';
// to stringify to fix problems with ' characters in track parameter
var stringified_params = querystring.stringify(params);
stringified_params = stringified_params
.replace(/!/g, "%21")
.replace(/'/g, "%27")
.replace(/(/g, "%28")
.replace(/)/g, "%29")
.replace(/*/g, "%2A");
var request = this.oauth.post(
url,
this.options.access_token_key,
this.options.access_token_secret,
stringified_params, null
);
—
Reply to this email directly or view it on GitHub.
When I try to start a search stream with track=test,test'ing it fails.
track=test works fine
track=test,test'ing => 401 error
The response I receive is a 401 and I suspect that when POST 'ing the oauth is not done correctly.
Please let me know what extra information I can provide to further debug this issue?
The text was updated successfully, but these errors were encountered: