Description Usage Arguments Details Examples
Retrieve basic information about the authenticated user.
1 2 3 | get_identity(
token
)
|
token |
Token object obtained from authorize() |
You can use this resource to find out who you’re authenticated as, and it also doubles as a good sanity check to ensure that you’re using OAuth correctly. This function does not work with a personalized token, but only using OAuth.
1 2 | token <- authorize("key", "secret")
identity <- get_identity(token)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.