Twitter app token expires

I connect to the twitter application and extract the oauth token values ​​and save them to the database. I found that the token values ​​expire, and every time I log in to Twitter, I get new token values.

I am looking for offline_access which is provided via facebook.

Please help me if someone has encountered the same problem.

Thanks in advance

+3
source share
2 answers

Do you keep the token key and secret key or passkey? The Token key is temporary and does not need to be stored in the database. It is used once to obtain a permanent access key and access secret.

. OAuth. . RFC OAuth.

+3

, upvote . API Facebook:

(, , ), offline_access.

, Twitter. , PIN.

0

Source: https://habr.com/ru/post/1787691/


All Articles