Description Usage Arguments Details Value Author(s) Examples
View source: R/account_settings.r
Retrieve and modify account settings
1 2 3 4 5 6 |
bio |
The biography of user, which is displayed in the gallery profile page. |
public_images |
A logical indicating whether images public by default. |
messaging_enabled |
A logical indicating whether private messages are allowed. |
album_privacy |
The default privacy for albums. One of “public”, “hidden”, or “secret”. |
accepted_gallery_terms |
A logical indicating whether the user agrees to the Imgur gallery terms. |
... |
Other arguments passed to HTTP request functions, for example: |
If none of the named arguments (other than token
) are specified, this retrieves settings of the account. If any of the named arguments are specified, those parameters are modified.
If not modifying settings, an object of “imgur_account_settings”, otherwise an object of “imgur_basic”.
Thomas J. Leeper
1 2 3 4 5 6 7 8 9 10 | ## Not run:
tkn <- imgur_login()
# retrieve settings
account_settings(token = tkn)
# set albums to default to public
account_settings(album_privacy = 'public', token = tkn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.