For a desktop application you have one of two options -- use the PIN code
flow in which you still must send the user to a web browser to enter their
credentials, after which the user will be presented with a PIN code that
they must hand-enter into your application. Your other alternative is xAuth,
which allows your application to exchange a login and password for an OAuth
1.0a access token.

Sample code for these processes are very dependent on the language being
used. What language are you planning on developing in? If you're familiar
with PHP, there are many good code examples in Abraham's oauthtwitter
library: and the documentation


On Sat, Jun 26, 2010 at 12:10 AM, manjunath reddy <> wrote:

> Hi taylor.
>   I am using java api to interact with twitter...Mine is an desktop
> application in which i cant the ask the user to enter the login credentials.
>   How can i  get the PIN in desktop applicationa.
>   Can u please provide me some sample code for the same.
> On Fri, Jun 25, 2010 at 2:32 AM, Taylor Singletary <
>> wrote:
>> Hi Manjunath,
>> You'll want to read about implementing OAuth in your application at
>> -- there are some convenient features we
>> offer to acquire an access token for your own account and own application,
>> but you'll still need to implement the bulk of OAuth.
>> Taylor
>> On Wed, Jun 23, 2010 at 11:16 PM, manjunath reddy <
>>> wrote:
>>> HI
>>>  I have an requirement of reading all the  tweets that has specifed
>>> word and replying to that tweeet.
>>> I am able to query all the tweets while replying to the tweet i am
>>> getting error.Couldnt autheticate the user.
>>> Please let me know how can i get the access token for the user.
>>> Please help me in resolving this issue.
>>> Regards
>>> Manjunatha M.N
> --
> Climbing to the top demands strength, whether it is to the top of Mount
> Everest or to the top of your career.

Reply via email to