[twitter-dev] Failed to validate oauth signature and token

2010-08-12 Thread Lumpizaver
I cannot get the oAuth to work properly.

I am trying to get a web response of a string that looks like this:
https://twitter.com/oauth/request_token?
oauth_callback=http://win.plane.si/TwittRank/tweets.aspx
oauth_consumer_key=[MY CONSUMER KEY]
oauth_nonce=8536829
oauth_signature_method=HMAC-SHA1
oauth_timestamp=1281614745
oauth_token=[MY ACCESS TOKEN]
oauth_version=1.0
oauth_signature=OTNQE/CGAcVemax9egTA5LFw04w=}

I get the exception: The remote server returned an error: (401)
Unauthorized.


If I visit the URL above in browser i get:

Failed to validate oauth signature and token


Thanks for your help.

Jure


[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 for your help.

Sincerely, Jure


On 9 avg., 16:53, Taylor Singletary taylorsinglet...@twitter.com
wrote:
 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 user and the application).

 On Mon, Aug 9, 2010 at 7:51 AM, Andrew W. Donoho 
 andrew.don...@gmail.comwrote:





  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_callback=oob).

  Taylor,

         As a user of xauth, I do  not currently send oauth_callback=oob. I
  think this is because xauth does not participate in the negotiation for a
  temporary credential. (See: http://tools.ietf.org/html/rfc5849 section
  2.1.). Is this your understanding? Or do xauth users need to include this
  callback in our request for our permanent access token?

  Anon,
  Andrew
  
  Andrew W. Donoho
  Donoho Design Group, L.L.C.
  a...@ddg.com, +1 (512) 750-7596

  We did not come to fear the future.
     We came here to shape it.

  -- President Barack Obama, Sept. 2009


[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-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 8 avg., 07:30, punit khaire punit.kha...@gmail.com wrote:
 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 .

 Punit.



 On Sun, Aug 8, 2010 at 5:13 AM, Tom allerleiga...@gmail.com wrote:
  Yes, you can. Any application that can sign oAuth requests can send
  tweets.

  Tom

  On Aug 7, 2:44 pm, Punit.khaire punit.kha...@gmail.com wrote:
   Can we use localhost to tweet messages using oAuth authentication??


[twitter-dev] Getting number of retweets

2010-07-05 Thread Lumpizaver
Hey!

I am using c# for streaming tweets into my application. What I know
about a tweet is it's author and text. I would like to get the total
count of retweets on the imported tweet.


[twitter-dev] Re: Streaming stocktwits

2010-07-03 Thread Lumpizaver
So there is no easy way? If I don't find any easier solution I'll just
make my account and subscribe to all the guys that post there and
follow my account. It's not a perfect solution but better something
than nothing...


[twitter-dev] Streaming stocktwits

2010-07-02 Thread Lumpizaver
Hey!

I would like to ask you if you know what is the easiest way to stream
all twits that appear on http://stocktwits.com/streams/all into my
application.

I am creating some kind of a personal twitter application in which you
can make notes on users and twits, you can add users to favorites, you
can export twits to .doc and other files...

Thanks for your help!

Sincerely, Jure