moocat

moocat

Joined
Mar 12, 2011

Activity Stream

moocat commented on a Page, Twitter single token status update  -  Jul 11, 2011

Something else I stumbled over, as encoding the signature in the header is required some places, using $tuenc here will replace + with %20, which is not desired. (you want the normal value %2B)

Also some clarification on my last post: What I meant was you need to sort the params before putting it into the hmacsha1. For example if you used "status" as a param it would be put at the end of the params, and if you use something like "message" it will be in the front of params like before "oauth_nonce" etc. (Without it the signature will only support params with names from p-z)

 Respond  
moocat commented on a Page, Twitter single token status update  -  Jul 10, 2011

So I needed to do some OAuth in mIRC and decided to try again with this script and I found out why I was having problems before, as you haven't sorted the signature params like http://oauth.net/core/1.0/#sig_norm_param says. A simple $sorttok did the trick. Thanks again.

 Respond  
moocat commented on a Page, Twitter single token status update  -  Mar 13, 2011

Tested with the pastebin you just posted http://pastebin.com/mvqi34Qs
here are the results http://pastebin.com/gC6cZZPP
Even though this example is not using Twitter's Oauth it's the signature method we're testing here so it makes no difference.

 Respond  
moocat commented on a Page, Twitter single token status update  -  Mar 12, 2011

The earlier pastebin I referred to was http://pastebin.com/znK7qCxM which is linked further up as a replacement for the dll.
And the link I gave is to double check your signature, not to learn about oauth (you insert the values and you get the signature)
The signature method in that pastebin is faulty for me with some but not all inputs so I thought I'd let other people know of this.

 Respond  
moocat commented on a Page, Twitter single token status update  -  Mar 12, 2011

The signature creator from pastebin linked earlier did not work for me, only in some cases. (70-90%)
If you wanna test the signature I recommend double checking with http://bit.ly/34dgz6 which is how I found faulty ones.
The dll worked fine however with $gmt on Windows 7 64bit with latest mIRC, though you might wanna load it "on START" or else it will return 1 on the first run.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.