[twitter-dev] Re: TwitPic 401 Unauthorized image upload

2010-07-24 Thread globaljobber
Hi Andy, thanks for replying. Yes, I did sign the url as you mention. As a test, I also sent a request to "https://api.twitter.com/1/account/verify_credentials.xml"; >From this I get authorization ok using a standard call when using an "Authorization" header, but as soon as I use the header "X-

Re: [twitter-dev] Re: Twitter oAuth for PHP, some advice needed

2010-07-24 Thread Abraham Williams
The temporary credentials need to be store while the user goes to twitter.com and authenticates. Sessions are awesome for this so I use it. You can use other mechanisms if you want. Abraham - Abraham Williams | Hacker Advocate | http://abrah.am @abraham | http://projects.abrah.am | htt

Re: [twitter-dev] TwitPic 401 Unauthorized image upload

2010-07-24 Thread Andy Matsubara
Did you sign to the https://api.twitter.com/1/account/verify_credentials.json to get the credentials? The signed url must be the same as X-Auth-Service-Provider. Andy Matsubara On Sat, Jul 24, 2010 at 10:57 PM, globaljobber wrote: > Hi, > > Been on this for a week. Am having trouble uploading im

Re: [twitter-dev] Re: Twitter oAuth for PHP, some advice needed

2010-07-24 Thread Paul S Gutches
I follow that. I was wondering if the creds needed to be in a session var or not. I'll give it a try! Thank you! On Jul 23, 2010, at 11:00 PM, Abraham Williams wrote: Hello Paul, In redirect.php the request token (also called temporary credentials) are one use. After the user returns f

[twitter-dev] TwitPic 401 Unauthorized image upload

2010-07-24 Thread globaljobber
Hi, Been on this for a week. Am having trouble uploading image to Twitpic with Oauth. I get user to authenticate ok, receive access_token, etc., and then try to make a httpwebrequest POST after generating X-Verify- Credentials-Authorization string. I am always getting a 401 Unauthorized Access re