Re: [twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-11 Thread Taylor Singletary
If your intent is to have Twitter redirect to a specific URL after the OAuth authetnication page is complete, you'll want to make sure that your application is marked as being a web-based application and you've provided a default callback URL (even though it doesn't have to correspond to your actua

[twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-10 Thread Lumpizaver
I fixed that now, I just had to type "oob" as callback url. But now I don't get redirected to the page I want to be. I just get a PIN number, what should I do now?

[twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-10 Thread Lumpizaver
I am trying to create a simple "Log in with twitter application". I am using this example: http://www.voiceoftech.com/swhitley/?p=681. You can get all the code there. But it throws out an error at this line Response.Redirect(oAuth.AuthorizationLinkGet()); in oAuthTwitter WebResponseGet. Thanks f

Re: [twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-09 Thread Taylor Singletary
xAuth would not require this as no callback is utilized. In the case of actually executing API resource actions (like sending a tweet), your callback (and effectively OAuth itself) has nothing to do with the request -- it's only a means of identifying the two parties involved in the request ("the u

Re: [twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-09 Thread Andrew W. Donoho
On Aug 9, 2010, at 08:37 , Taylor Singletary wrote: > As a reminder, it's proper OAuth to always send an oauth_callback on the > request token step of OAuth negotiation -- even if you've preregistered a > callback or are using the PIN code/out-of-band flow (in which case you would > send oauth

[twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-09 Thread Tom
If you are generating the right signature (which is quite a large assumption) and sending the right parameters, then make sure you aren't sending too much. Signature + parameters are, as far as I know, the only things that can cause a 401 error - assuming that the keys are right. Just make sure t

Re: [twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-09 Thread Taylor Singletary
For clarity: There is nothing stopping you from using localhost as your oauth_callback during testing for OAuth 1.0a. While the form for your application on dev.twitter.com will not allow you to store a localhost domain as your pre-registered callback URL, our OAuth sub-system has no trouble using

[twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-09 Thread Lumpizaver
I also have a problem with this. I cannot use the twitter API login with OAuth when I am debugging on localhost. I tought that it is not possible to use Twitter authentication on localhost because of the callback url. So I tought that I have to upload my site somewhere before. Sincerely, Jure On

Re: [twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-08 Thread punit khaire
Thanks Tom, I am using localhost to tweet messages but it is giving error message as Failed to authenticate with oauthe signature and token.Is this happening because I had given callback URL.I am generating proper signature and sending all parameters. I am not getting where I am going wrong . Pu

[twitter-dev] Re: Can we use localhost to tweet messages using oAuth authentication??

2010-08-07 Thread Tom
Yes, you can. Any application that can sign oAuth requests can send tweets. Tom On Aug 7, 2:44 pm, "Punit.khaire" wrote: > Can we use localhost to tweet messages using oAuth authentication??