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
I think I've worked it out. It looks like OAuth gem is escaping a space character as "%20" when generating the signature. But I was escaping a space character as "+" and this seems to upset the signature checking. Cheers, James.
I've successfully got OAuth working with the del.icio.us API, but it doesn't seem to work when I have parameters including spaces.
This works :-
url = "http://api.del.icio.us/v2/posts/get?tag=ruby"
puts access_token.get(url).body
But this fails with a "signature_invalid" error :-
url = "http://api.del.icio.us/v2/posts/get?tag=ruby+oauth"
puts access_token.get(url).body
I'll try and narrow this down further, but I'd be grateful if you could tell me whether there is anything obvious I might be doing wrong.
Thanks, James.
The text was updated successfully, but these errors were encountered: