[twitter-dev] OAuth confusion

2010-03-31 Thread Edward Caine
Hello all,

I'm writing a desktop client for very specific people i.e. only the
staff of my website - I'd like to be able to access the API using my
app, which is registered, and for it to say via LateMusic.org under
the tweet.

What I don't want to do is have the user authenticate before typing
the tweet - I just want them to be able to tweet.

How do I do this using OAuth and PHP?

Many thanks
Edd


-- 
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] OAuth confusion

2010-03-31 Thread Taylor Singletary
In order for those members of your staff to tweet and have the source of
LateMusic.org to surface on the site, you'll have to use OAuth or a
variation on OAuth we support called xAuth. By sending an email to
a...@twitter.com, you can apply for xAuth access -- it allows you to exchange
logins and passwords from your desktop application for OAuth access tokens
which would be used for the rest of the way. All users you'd like to tweet
from your application will need to enter account credentials in some form or
another, either using xAuth or by using the out-of-band PIN code OAuth flow.

Find out more about xAuth here:
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-oauth-access_token-for-xAuth

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


On Wed, Mar 31, 2010 at 12:59 PM, Edward Caine eddjca...@googlemail.comwrote:

 Hello all,

 I'm writing a desktop client for very specific people i.e. only the
 staff of my website - I'd like to be able to access the API using my
 app, which is registered, and for it to say via LateMusic.org under
 the tweet.

 What I don't want to do is have the user authenticate before typing
 the tweet - I just want them to be able to tweet.

 How do I do this using OAuth and PHP?

 Many thanks
 Edd


 --
 To unsubscribe, reply using remove me as the subject.



Re: [twitter-dev] OAuth confusion

2010-03-31 Thread BJ Weschke
 Use oauth to get an access token. Once you've gotten the access token 
by the user approving the app to act on their behalf, that user need not 
be authenticated again. You only need the access token that you got 
through the original oAuth handshake.


On 3/31/2010 3:59 PM, Edward Caine wrote:

Hello all,

I'm writing a desktop client for very specific people i.e. only the
staff of my website - I'd like to be able to access the API using my
app, which is registered, and for it to say via LateMusic.org under
the tweet.

What I don't want to do is have the user authenticate before typing
the tweet - I just want them to be able to tweet.

How do I do this using OAuth and PHP?

Many thanks
Edd


   




--
To unsubscribe, reply using remove me as the subject.


Re: [twitter-dev] OAuth confusion

2010-03-31 Thread Taylor Singletary
Also worth mentioning that you can use a number of tools or libraries to
acquire those access tokens on your employee's behalf -- it doesn't have to
be your desktop application.

My OAuth Dancer tool ( http://bit.ly/oauth-dancer ) is a very easy way to
negotiate access tokens which you can then literally just store in your
private-label application (both the oauth_token and the oauth_secret).
 Though there are even easier ways of accomplishing the same.

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


On Wed, Mar 31, 2010 at 1:09 PM, BJ Weschke bwesc...@btwtech.com wrote:

  Use oauth to get an access token. Once you've gotten the access token by
 the user approving the app to act on their behalf, that user need not be
 authenticated again. You only need the access token that you got through the
 original oAuth handshake.


 On 3/31/2010 3:59 PM, Edward Caine wrote:

 Hello all,

 I'm writing a desktop client for very specific people i.e. only the
 staff of my website - I'd like to be able to access the API using my
 app, which is registered, and for it to say via LateMusic.org under
 the tweet.

 What I don't want to do is have the user authenticate before typing
 the tweet - I just want them to be able to tweet.

 How do I do this using OAuth and PHP?

 Many thanks
 Edd







 --
 To unsubscribe, reply using remove me as the subject.