[ 
https://issues.apache.org/jira/browse/OPENEJB-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041877#comment-13041877
 ] 

Vishwanath commented on OPENEJB-1565:
-------------------------------------

The first patch (PatchForAuthorizationUrlGeneration.patch) generates the URL 
which the account-holder would visit and authorize. - ( Patch Applied)

The user would be given a PIN number.
The user should input the PIN to the system. Then the access-tokens can be 
generated.

PatchForAuthorizationTokenGenerationAndListStatusesRetrieval.patch gets the 
access tokens based on the PIN.
(Whoops ! Intended to name the patch as 
PatchFor*Access*TokenGenerationAndListStatusesRetrieval )

Sample Output:

#####################
Paste the below URL in the browser and authorize
http://twitter.com/oauth/authorize?oauth_token=QOHSF03d1grKwexTRdzZ0LBUaAWczIX3SCkg3CA
#####################
Please enter the PIN number to complete authorization:
6140115
User has provided this PIN:6140115
Consumer Token: (Copy and Paste this value in the RetweetTool.properties 
against retweetApp.authorizedUser.consumer.token)
307322883-ZOna1vz1mGYJhVLQ5qJ12cjUq3MHFOQ6bUzkg2Ch
Consumer Token Secret: (Copy and Paste this value in RetweetTool.properties 
against retweetApp.authorizedUser.consumer.tokenSecret)
7t6TJsLSOH2U3ee0tqBbLVyJAKEjabu8FVKHWNVUVjI


This completes the authorization. The twitterAccount->settings->applications 
should list this application now
These two tokens are placed in the properties file.





> To monitor "OpenEJB contributors' tweets" and retweet anything that mentions 
> OpenEJB. 
> --------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1565
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1565
>             Project: OpenEJB
>          Issue Type: Improvement
>          Components: tools
>            Reporter: Vishwanath
>            Priority: Minor
>              Labels: OAuth, retweet, tools, twitter
>         Attachments: 
> PatchForAuthorizationTokenGenerationAndListStatusesRetrieval.patch, 
> PatchForAuthorizationTokenGenerationAndListStatusesRetrieval.patch, 
> PatchForAuthorizationUrlGeneration.patch, 
> PatchForAuthorizationUrlGeneration.patch, RequestAuthorizationPage.png
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to