Though I know it doesn't sound like it should matter, can you try your
request against Twitpic after inserting spaces after each comma in
your Authorization Header? Also want to make sure that you aren't
executing your verify_credentials request in the preparation sequence
(calling the resource prior to TwitPic calling it would invalidate
it).
Thanks,
Taylor
Steps 1-3 of this process are correct from the perspective of
initially negotiating permissions for your user. Once you've performed
steps 1-3 you shouldn't need to do these steps for this user again
unless re-negotiating for the tokens.
Your step 4: I'll improve the documentation we have for OAuth Echo
here, as it's not obvious that you should be performing a POST for
verify_credentials in this case. The Authorization Header you generate
for the verify_credentials request should be a POST, as that's what
Twitpic will do.
Step 5: Yes, your OAuth authorization header for the
verify_credentials request is presented in the
X-Verify-Credentials-Authorization header, and X-Auth-Service-Provider
contains "https://api.twitter.com/1/account/verify_credentials.json"
Let me know if the transition to POST works for you. I have some
sample code in PHP available here: http://gist.github.com/490753
Taylor
Thanks for the code sample. Nothing is jumping out at me here.. can
you share an example signature base string? (likely generated
somewhere in the "AddSignatureToParameters" method in an intermediary
step).
Taylor
That's the actual authorization header -- I'm looking for the
signature base string, which is the string that's signed with both
your consumer key and consumer secret to generate your oauth_signature
-- might take you a bit of debugging to get at that information.
Taylor