How to recieve access tokens and secrets after a user has entered the valid pin


#1

I have created a twitter client and am having problems receiving access tokens and secrete after validating the pin


#2

Hi @bkwaku,

Can you tell me more about where you’re having trouble?

Once the user has entered the verification code/PIN into your application, you then use that as the oauth_verifier in a request to api.twitter.com/oauth/access_token, including the oauth_token that was used as your request token in a previous step. You sign the request using a composite key made up of your consumer secret and the oauth_token_secret of the request token.

After you’ve completed this step (exchanging the request token for an access token) you’ll get a response including the access token and access token secret for the user.


#3

“composite key made up of your consumer secret and the oauth_token_secret of the request token”.
Could you give more detail about how to make up consumer secret, and how to get access token by oauth token?

Thanks