Description Usage Arguments Details Value Author(s) References Examples
Get the url of a blog's avatar.
1  | 
base_hostname | 
 The standard or custom blog hostname. See Details.  | 
size | 
 The size of the avatar (square, one value for both length and width). Must be one of the values: 16, 24, 30, 40, 48, 64, 96, 128, 512.  | 
Each blog has a unique hostname. The hostname can be standard or custom. Standard hostname: the blog short name + .tumblr.com. Custom hostname: Anything at all, as determined by a DNS CNAME entry.
If the download succeeded, the url of the blog'avatar has returned, otherwise an error is encountered.
Andrea Capozio
https://www.tumblr.com/docs/en/api/v2
1 2 3 4 5 6 7 8 9  | ## Not run: 
## you must specify a real blog for base_hostname
size <- 48
base_hostname <- "blogname.tumblr.com"
avatar(base_hostname = base_hostname, size = 48)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.