Re: [twitter-dev] Re: Can we automate the user login process on twitter...

2010-08-10 Thread punit khaire
Thanks Ken,

 I totall y agrree with your view,but I am doing RND on oAuth Username
password authentication,where I dont want twitter to prompt for
credentials,It will directly redirected to callback URl.

Is it possible???


Thanks,

Punit.

On Tue, Aug 10, 2010 at 1:32 AM, Ken k...@cimas.ch wrote:

 Punit,

 If you have regular users with accounts on your site, they only need
 to go through Oauth once - assuming you have a more convenient login
 process to offer them.

 The first time they authorize through Twitter, you need to capture the
 token and store it. Then they can log in using your less cumbersome
 process and, until such time as they deny access to your app -
 invalidating the token you have stored - they can use your app to
 interact with Twitter.

 Maybe that's what you had in mind?

 On Aug 8, 5:02 pm, Punit.khaire punit.kha...@gmail.com wrote:
  Hi,
 
  I am develop[eing one web application to tweet posts on twitter,
 
  1. Request token
  2.Authorize user on twitter
  3.Get access token from twitter
  4.Post on tweitter.
 
  When I authorize user on twitter(2nd step) ,I am redirected to
  twitter.com to allow user to enter the Username and Password.Can we
  automate this process.Can I send username and password of user from my
  application?



Re: [twitter-dev] Re: Can we automate the user login process on twitter...

2010-08-10 Thread Tom van der Woerdt
It is not. You should simply store the keys in a cookie (which is safe,
as long as you don't leak the consumer keys).

Tom


On 8/10/10 1:16 PM, punit khaire wrote:
 Thanks Ken,
  
  I totall y agrree with your view,but I am doing RND on oAuth Username
 password authentication,where I dont want twitter to prompt for
 credentials,It will directly redirected to callback URl.
  
 Is it possible???
  
  
 Thanks,
  
 Punit.
 
 On Tue, Aug 10, 2010 at 1:32 AM, Ken k...@cimas.ch
 mailto:k...@cimas.ch wrote:
 
 Punit,
 
 If you have regular users with accounts on your site, they only need
 to go through Oauth once - assuming you have a more convenient login
 process to offer them.
 
 The first time they authorize through Twitter, you need to capture the
 token and store it. Then they can log in using your less cumbersome
 process and, until such time as they deny access to your app -
 invalidating the token you have stored - they can use your app to
 interact with Twitter.
 
 Maybe that's what you had in mind?
 
 On Aug 8, 5:02 pm, Punit.khaire punit.kha...@gmail.com
 mailto:punit.kha...@gmail.com wrote:
  Hi,
 
  I am develop[eing one web application to tweet posts on twitter,
 
  1. Request token
  2.Authorize user on twitter
  3.Get access token from twitter
  4.Post on tweitter.
 
  When I authorize user on twitter(2nd step) ,I am redirected to
  twitter.com http://twitter.com/ to allow user to enter the
 Username and Password.Can we
  automate this process.Can I send username and password of user from my
  application?
 
 



[twitter-dev] Re: Can we automate the user login process on twitter...

2010-08-09 Thread Ken
Punit,

If you have regular users with accounts on your site, they only need
to go through Oauth once - assuming you have a more convenient login
process to offer them.

The first time they authorize through Twitter, you need to capture the
token and store it. Then they can log in using your less cumbersome
process and, until such time as they deny access to your app -
invalidating the token you have stored - they can use your app to
interact with Twitter.

Maybe that's what you had in mind?

On Aug 8, 5:02 pm, Punit.khaire punit.kha...@gmail.com wrote:
 Hi,

 I am develop[eing one web application to tweet posts on twitter,

     1. Request token
     2.Authorize user on twitter
     3.Get access token from twitter
     4.Post on tweitter.

 When I authorize user on twitter(2nd step) ,I am redirected to
 twitter.com to allow user to enter the Username and Password.Can we
 automate this process.Can I send username and password of user from my
 application?