Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. OAuthRequest request = new OAuthRequest(Verb.GET, "https://api.twitter.com/1.1/account/verify_credentials.json");
  2.  
  3. request.addBodyParameter("include_email", "true");
  4. request.addQuerystringParameter("include_email", "true");
  5.  
  6. service.signRequest(accessToken, request);
  7.  
  8. Response response = request.send();
  9. String result = response.getBody();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement