[twitter-dev] Upload Image to TwitPic OAuth 401 Unauthorized

2010-07-16 Thread globaljobber
Hi, Can anyone please help, been at this for days? I'm working with ASP.NET C# and trying to upload photo image to Twitpic. I am trying to use the OAuth procedure, but keep getting "The remote server returned an error: (401) Unauthorized." This is where I'm at... I have all of the follow

[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

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

2010-07-24 Thread globaljobber
you sign to > thehttps://api.twitter.com/1/account/verify_credentials.jsonto 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 > > - Hide quoted text - > > - Show quoted text

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

2010-07-25 Thread globaljobber
y Matsubara wrote: > Just for doublechekking. > > Your first post showed "X-Auth-Service-Provider" was JSON. If you signed to > "https://api.twitter.com/1/account/verify_credentials.xml";, > X-Auth-Service-Provider > also must be XML. > > Andy > > On Sun, Jul 25

[twitter-dev] Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
Hi, I am having trouble getting Twitpic to authorize an image upload request. I have checked my Oauth 'X-Verify-Credentials-Authorization' authorization header with a call to 'https://api.twitter.com/' and I get a 200 OK status. So it appears my authentication requests are ok. However if I take

[twitter-dev] Re: Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
; executing your verify_credentials request in the preparation sequence > (calling the resource prior to TwitPic calling it would invalidate > it). > > Thanks, > Taylor > > On Mon, Jul 26, 2010 at 7:26 AM, globaljobber > > wrote: > > Hi, > > > I am having trou

[twitter-dev] Re: Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
using a post to http://api.twitpic.com/2/upload.json Have I missed anything? Regards Gerard On Jul 26, 4:03 pm, globaljobber wrote: > Hi Taylor, > > Thanks for your reply. I just tried that and still the same 401 error. > The new header was like this with spaces after each comma: > &g

[twitter-dev] Re: Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
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 > > On Mon, Jul 26, 2010 at 8:21 AM, globaljobber > &g

[twitter-dev] Re: Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
.com/1/account/verify_credentials.json"); WebResponse response = webRequest.GetResponse(); string responseString = new StreamReader(response.GetResponseStream()).ReadToEnd(); Hope this is not too hard to read or follow. Thanks Gerard On Jul 26, 5:31 pm, globaljobber wrote: > Hi Tayl

[twitter-dev] Re: Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
mple. 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 > > On Mon, Jul 26, 2010 at 10:12 AM, globaljobber > > > &g

[twitter-dev] Re: Oauth Echo Twitpic problems

2010-07-26 Thread globaljobber
; > 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.

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

2010-07-26 Thread globaljobber
I'm pretty sure everything else > > looks right. > > > I have an example HTTP packet including all the headers for > > Twitgoo:http://twitgoo.com/docs/Content/Developer/upload.htm(Itsin the > > example link 'pulldown' in the top section) > > > On Jul 2

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

2010-07-27 Thread globaljobber
anks Gerard On Jul 27, 6:52 am, globaljobber wrote: > Thanks for replying Justin, much appreciated. Slwly getting there > - I hope! > > Gerard > > On Jul 27, 5:55 am, Justin Hart wrote: > > > > > Oop, it looks like you've moved on (in a different thread

[twitter-dev] TwitPic 401 and 400 when uploading image

2010-07-27 Thread globaljobber
Hi, Anyone have a clue why this could be happening? Trying to upload image to Twitpic using POST web request, but depending what line I use for the image filename, I either get a 401 Unauthorized or a 400 Bad Response (missing image data). I get 401 unauthorized if I use the following post line:

[twitter-dev] Better support for Developers

2010-07-27 Thread globaljobber
Hi, I am not one for rocking the boat.and am sure I'm going to get shot down for this...but I've been working trying to do something what should be simple. Use twitter to upload a photo in C# ASP.NET. However, it's taken me over a week and I'm still not there, and although one of

[twitter-dev] Re: Better support for Developers

2010-07-27 Thread globaljobber
ed them, considering how simple oAuth can be :-) > > I think that I should also state that I am not a professional > programmer - I am a 17 year old kid doing some programming. No insult > intended, but if a 17 year old kid can do it, you'd say that it would > be easy for a profess

[twitter-dev] Re: Better support for Developers

2010-07-27 Thread globaljobber
Hi IDisposable, I haven't looked at linqtotwitter yet, but will pop over and take a look. Thanks for the link. :0) On Jul 27, 8:20 pm, "@IDisposable" wrote: >  > Just some thoughts. Votes please. > > That's trivially done with the LinqToTwitter library.  Head over > tohttp://linqtotwitter.cod