Description Usage Arguments Details Value Author(s) References Examples
Use this method to retrieve the user's account information that matches the OAuth credentials submitted with the request.
| 1 | 
| token | Represents the complete set of data needed for OAuth access: an app, an endpoint, cached credentials and parameters. See Details. | 
| consumer_key | The consumer key provided by your application. | 
| consumer_secret | The consumer secret provided by your application. | 
The API supports the OAuth 1.0a Protocol, accepting parameters via the Authorization header, with the HMAC-SHA1 signature method only.
A list object with the following fields:
| following | A number. The number of blogs the user is following. | 
| default_post_format | A string. The default posting format -html, markdown. | 
| name | A string. The user's tumblr short name. | 
| likes | A number. The total count of the user's like. | 
| blogs | An array. Each item is a blog that is being followed, containing these fields: | 
| name | A string. The short name of the blog. | 
| url | A string. The URL of the blog. | 
| primary | A boolean. Indicates if this is the user's primary blog. | 
| title | A string. The title of the blog. | 
| followers | A number. Total count of followers for this blog. | 
| tweet | A number. Indicates if posts are tweeted (auto, Y, N). | 
| facebook | Indicates if posts are sent to Facebook Y, N. | 
| type | Indicates whether a blog is public or private. | 
Andrea Capozio
https://www.tumblr.com/docs/en/api/v2
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run: 	
## An example of an authenticated request using the httr package,
## where consumer_key, consumer_secret, appname are fictitious.
## You can obtain your own at https://www.tumblr.com/oauth/apps
consumer_key <-'key'
consumer_secret <- 'secret'
appname <- Tumblr_App
tokenURL <- 'https://www.tumblr.com/oauth/request_token'
accessTokenURL <- 'https://www.tumblr.com/oauth/acces_token'
authorizeURL <- 'https://www.tumblr.com/oauth/authorize'
app <- oauth_app(appname, consumer_key, consumer_secret)
endpoint <- oauth_endpoint(tokenURL, authorizeURL, accessTokenURL)
token <- oauth1.0_token(endpoint, app)
sig <- sign_oauth1.0(app, 
token = token$credentials$oauth_token, 
token_secret = token$credentials$oauth_token_secret)
user.info(token = token, consumer_key = consumer_key, 
consumer_secret = consumer_secret)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.