Creating a signature base string


#1

I’m trying to write a piece of perl code to send a tweet; I’ve gotten to the point where I’m trying to send my authenticated request through the API, and I’ve been having issues. I’ve found the OAuth tool to generate what what signature should look like; but what it’s generating is different from what the documentation suggests I should be getting.

According to https://dev.twitter.com/docs/auth/creating-signature, the base string has the status encoded as a parameter called status (ie status%3DHello included in the string); when I run the Oauth tool to see what that’s generating, it’s including the text of the status directly in the string (ie Hello)

Am I looking at outdated documentation for creating a signature? If so, could someone point me in the direction of a more up to date version?


#2

Can you share what your output is that is different? It’s not clear from your description to me exactly what is confusing too you or potentially erroneous.