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

2009-12-29 Thread varnie
Good day. I've solved my issue. One more question - are there any ways
to get authorization without having to use the browser? if you're
awared of any solutions please let me know, thanks.


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

2009-12-29 Thread Raffi Krikorian
not right now.

i have to emphasize, the reason the browser is a good thing is that the
user can see that he is not giving his twitter password to your application.

On Tue, Dec 29, 2009 at 10:46 AM, varnie varnie...@mail.ru wrote:

 Good day. I've solved my issue. One more question - are there any ways
 to get authorization without having to use the browser? if you're
 awared of any solutions please let me know, thanks.




-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


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

2009-12-29 Thread varnie


On Dec 30, 2:07 am, Raffi Krikorian ra...@twitter.com wrote:
 not right now.

hmm, if it is so then how does the python-twitter (http://
code.google.com/p/python-twitter/) work? it allows posting messages
and much more without the browser. maybe i missed smth...
thank you for clarifications.


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

2009-12-29 Thread Raffi Krikorian

  not right now.

 hmm, if it is so then how does the python-twitter (http://
 code.google.com/p/python-twitter/) work? it allows posting messages
 and much more without the browser. maybe i missed smth...
 thank you for clarifications.


python twitter, i assume, is using basic authentication for its interactions
with the Twitter API.  this, however, has the disadvantages -
http://apiwiki.twitter.com/OAuth+Example+-+Ruby (see the what does oauth
give me).

-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi


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

2009-12-28 Thread varnie
Hello. Thanks for info.

As far as i read, the consumer_key is just a user's nickname in
Twitter. is it true?
Speaking  about registering an application with Twitter. Does it
needed when i just want to use some well-known open-source
applications/scripts to communicate with Twitter using my twitter
account?

For example, what steps have to be performed to get authenticated with
oauth.py script (http://github.com/mikelikespie/oauth-repoze/tree/
master/oauthwhat/lib/)?

Thank you.


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

2009-12-28 Thread varnie
Tried to register test application and tried to use that oauth.py
script with newer consumer key and consumer secret. but unluckily
there's no success.

here is the newest HTTP logs:

send: 'POST
http://twitter.com/oauth/request_token?oauth_nonce=81708853oauth_timestamp=1262009548oauth_consumer_key=IHCqwfscVOzUmmKULwsUkAoauth_signature_method=HMAC-SHA1oauth_version=1.0oauth_token=IHCqwfscVOzUmmKULwsUkAoauth_signature=IeErhy8ajwf1cnPygZt1LgF%2B1ws%3D
HTTP/1.1\r\nHost: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
reply: 'HTTP/1.1 401 Unauthorized\r\n'
header: Date: Mon, 28 Dec 2009 14:12:28 GMT
header: Server: hi
header: X-Transaction: 1262009548-20986-31207
header: Status: 401 Unauthorized
header: Last-Modified: Mon, 28 Dec 2009 14:12:28 GMT
header: X-Runtime: 0.00591
header: Content-Type: text/html; charset=utf-8
header: Pragma: no-cache
header: Content-Length: 44
header: Cache-Control: no-cache, no-store, must-revalidate, pre-
check=0, post-check=0
header: Expires: Tue, 31 Mar 1981 05:00:00 GMT
header: X-Revision: DEV
header: Set-Cookie:
_twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJTM4OTMyMzg1MDMxYjUxZDAwNWYx
%250AYzVkZDI3ODQ2ZjY3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz
%250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--3302083013fe75a2fe5f0a54e0ed0905c871a14b;
domain=.twitter.com; path=/
header: Vary: Accept-Encoding
header: Connection: close
Failed to validate oauth signature and token


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

2009-12-28 Thread Abraham Williams
In order for your application to act on behalf of a user you must follow the
OAuth flow and get access tokens for the user.

You can read about getting started with OAuth from:
http://oauth.net/documentation/getting-started/

You can also read my slightly dated walkthrough although the flow will still
work:
https://docs.google.com/View?docID=dcf2dzzs_2339fzbfsf4

On Mon, Dec 28, 2009 at 08:18, varnie varnie...@mail.ru wrote:

 Tried to register test application and tried to use that oauth.py
 script with newer consumer key and consumer secret. but unluckily
 there's no success.

 here is the newest HTTP logs:

 send: 'POST

 http://twitter.com/oauth/request_token?oauth_nonce=81708853oauth_timestamp=1262009548oauth_consumer_key=IHCqwfscVOzUmmKULwsUkAoauth_signature_method=HMAC-SHA1oauth_version=1.0oauth_token=IHCqwfscVOzUmmKULwsUkAoauth_signature=IeErhy8ajwf1cnPygZt1LgF%2B1ws%3D
 HTTP/1.1\r\nHost: twitter.com\r\nAccept-Encoding: identity\r\n\r\n'
 reply: 'HTTP/1.1 401 Unauthorized\r\n'
 header: Date: Mon, 28 Dec 2009 14:12:28 GMT
 header: Server: hi
 header: X-Transaction: 1262009548-20986-31207
 header: Status: 401 Unauthorized
 header: Last-Modified: Mon, 28 Dec 2009 14:12:28 GMT
 header: X-Runtime: 0.00591
 header: Content-Type: text/html; charset=utf-8
 header: Pragma: no-cache
 header: Content-Length: 44
 header: Cache-Control: no-cache, no-store, must-revalidate, pre-
 check=0, post-check=0
 header: Expires: Tue, 31 Mar 1981 05:00:00 GMT
 header: X-Revision: DEV
 header: Set-Cookie:
 _twitter_sess=BAh7CDoRdHJhbnNfcHJvbXB0MDoHaWQiJTM4OTMyMzg1MDMxYjUxZDAwNWYx
 %250AYzVkZDI3ODQ2ZjY3IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVyOjpGbGFz

 %250AaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--3302083013fe75a2fe5f0a54e0ed0905c871a14b;
 domain=.twitter.com; path=/
 header: Vary: Accept-Encoding
 header: Connection: close
 Failed to validate oauth signature and token




-- 
Abraham Williams | Awesome Lists | http://awesomeli.st
Project | Intersect | http://intersect.labs.poseurtech.com
Hacker | http://abrah.am | http://twitter.com/abraham
This email is: [ ] shareable [x] ask first [ ] private.
Sent from Madison, WI, United States