File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/scribe/builder/api
test/java/org/scribe/examples Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ public class TwitterApi extends DefaultApi10a
55 @ Override
66 protected String getAccessTokenEndpoint ()
77 {
8- return "http://twitter.com/oauth/access_token" ;
8+ return "http://api. twitter.com/oauth/access_token" ;
99 }
1010
1111 @ Override
1212 protected String getRequestTokenEndpoint ()
1313 {
14- return "http://twitter.com/oauth/request_token" ;
14+ return "http://api. twitter.com/oauth/request_token" ;
1515 }
1616}
Original file line number Diff line number Diff line change 99
1010public class TwitterExample
1111{
12- private static final String AUTHORIZE_URL = "https://twitter.com/oauth/authorize?oauth_token=" ;
12+ private static final String AUTHORIZE_URL = "https://api. twitter.com/oauth/authorize?oauth_token=" ;
1313 private static final String PROTECTED_RESOURCE_URL = "http://api.twitter.com/1/account/verify_credentials.xml" ;
1414
1515 public static void main (String [] args )
You can’t perform that action at this time.
0 commit comments