[twitter-dev] Need clearer explanation of using a single oauth token

2010-05-10 Thread Glenn
I'm looking at this snippet for Python:

http://dev.twitter.com/pages/oauth_single_token#python

and there are the key and secret parameters for oauth.Token. But the
page does not go into what those two are suppose to be. I tried using
oauth token and secret, as well as the username and password for the
twitter account to authorize under. Neither worked, because I got a
Could not authenticate you. message once I tried my first API
lookup.

Any advice?


Re: [twitter-dev] Need clearer explanation of using a single oauth token

2010-05-10 Thread Abraham Williams
You need not only the oauth token and oauth secret for the user but the
consumer key and secret.

The consumer key and secret go on in consumer =
oauth.Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET)

The users oauth token and secret replace 'abcdefg', 'hijklmnop'

Abraham

On Mon, May 10, 2010 at 13:24, Glenn yonemi...@gmail.com wrote:

 I'm looking at this snippet for Python:

 http://dev.twitter.com/pages/oauth_single_token#python

 and there are the key and secret parameters for oauth.Token. But the
 page does not go into what those two are suppose to be. I tried using
 oauth token and secret, as well as the username and password for the
 twitter account to authorize under. Neither worked, because I got a
 Could not authenticate you. message once I tried my first API
 lookup.

 Any advice?




-- 
Abraham Williams | Developer for hire | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.


Re: [twitter-dev] Need clearer explanation of using a single oauth token

2010-05-10 Thread Taylor Singletary
And you can get the Access Token (oauth_token and oauth_token_secret)
corresponding to your own user account for your own application by
navigating to one of your application detail pages at
http://dev.twitter.com/apps and selecting the My Access Token link on the
right-hand rail.

If you still have questions, I'll be happy to assist.

Taylor Singletary
Developer Advocate, Twitter
http://twitter.com/episod


On Mon, May 10, 2010 at 2:22 PM, Abraham Williams 4bra...@gmail.com wrote:

 You need not only the oauth token and oauth secret for the user but the
 consumer key and secret.

 The consumer key and secret go on in consumer =
 oauth.Consumer(key=CONSUMER_KEY, secret=CONSUMER_SECRET)

 The users oauth token and secret replace 'abcdefg', 'hijklmnop'

 Abraham

 On Mon, May 10, 2010 at 13:24, Glenn yonemi...@gmail.com wrote:

 I'm looking at this snippet for Python:

 http://dev.twitter.com/pages/oauth_single_token#python

 and there are the key and secret parameters for oauth.Token. But the
 page does not go into what those two are suppose to be. I tried using
 oauth token and secret, as well as the username and password for the
 twitter account to authorize under. Neither worked, because I got a
 Could not authenticate you. message once I tried my first API
 lookup.

 Any advice?




 --
 Abraham Williams | Developer for hire | http://abrah.am
 @abraham | http://projects.abrah.am | http://blog.abrah.am
 This email is: [ ] shareable [x] ask first [ ] private.