Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Twitter Application Token Expires

I am connecting to twitter application and fetching the oauth token values and storing in database. I have found that the token values expires and each time I logs in with twitter i get a new token values.

I am searching for offline_access which is provided by facebook.

Please help me out, if anyone has faced the same issue.

Thanks in advance

like image 499
Amol Aress Avatar asked Jan 24 '26 06:01

Amol Aress


1 Answers

Are you storing the Token Key and Secret or Access Key and Secret? The Token key is temporary and should not need to be stored in a database. It is used once to get a permanent Access Key and Access Secret.

See this link for the full OAuth flow. See this link for the OAuth RFC.

like image 53
Stephen Dryden Avatar answered Jan 26 '26 04:01

Stephen Dryden



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!