account_favorites function

Retrieve user favorites

Retrieve user favorites

Retrieve details of a user's favorite images

account_favorites(account = 'me', gallery = FALSE, ...)

Arguments

  • account: A username, by default the current user (if token is supplied).
  • gallery: A logical indicating whether to only return gallery favorites.
  • ...: Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

account_favorites retrieves details of a user's favoriates. By default (and if a token argument is supplied), the current user's favorites are returned. Specifying another username is also possible with or without a token.

Returns

For account_favorites, an object of class imgur_gallery_image or imgur_gallery_album .

Author(s)

Thomas J. Leeper

Examples

## Not run: account_favorites('thosjleeper') ## End(Not run)
  • Maintainer: Thomas J. Leeper
  • License: GPL-3
  • Last published: 2016-03-29