Skip to content

Commit dfaa024

Browse files
authored
Update OAuth20GetAccessToken.java
Add `users.read` to token's scope.
1 parent e698106 commit dfaa024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/java/com/twitter/clientlib/auth/OAuth20GetAccessToken.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public OAuth2AccessToken getAccessToken(TwitterCredentialsOAuth2 credentials) {
7373
credentials.getTwitterOauth2ClientId(),
7474
credentials.getTwitterOAuth2ClientSecret(),
7575
"http://twitter.com",
76-
"offline.access tweet.read");
76+
"offline.access tweet.read users.read");
7777

7878
OAuth2AccessToken accessToken = null;
7979
try {

0 commit comments

Comments
 (0)