Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add oauth_twitter:verify_credentials/1

  • Loading branch information...
commit 931d1c7c13a15b588732e49cb7d0deeca3869f24 1 parent 5ad7c1a
@tim authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/oauth_twitter.erl
View
4 src/oauth_twitter.erl
@@ -44,3 +44,7 @@ get_access_token(Client, Verifier) ->
get_favorites(Client) ->
URL = "https://api.twitter.com/1/favorites.xml",
oauth_client:get(Client, URL, []).
+
+verify_credentials(Client) ->
+ URL = "https://api.twitter.com/1/account/verify_credentials.xml",
+ oauth_client:get(Client, URL, []).
Please sign in to comment.
Something went wrong with that request. Please try again.