'Hi....Can someone help me with getting TWITTER_OAUTH2_REFRESH_TOKEN from twitter developer portal
I am trying to create a tweet and follow a twitter account from springboot application.I am using twitter-api-java-sdk.
TwitterApi apiInstance = new TwitterApi();
TwitterCredentialsOAuth2 credentials = new
TwitterCredentialsOAuth2(System.getenv("TWITTER_OAUTH2_CLIENT_ID"),
System.getenv("TWITTER_OAUTH2_CLIENT_SECRET"),
System.getenv("TWITTER_OAUTH2_ACCESS_TOKEN"),
System.getenv("TWITTER_OAUTH2_REFRESH_TOKEN"));
apiInstance.setTwitterCredentials(credentials);
from where will I get TWITTER_OAUTH2_REFRESH_TOKEN?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
