account_comments function

Retrieve user albums

Retrieve user albums

Retrieve details of a user's albums

account_comments(account = 'me', ids = FALSE, ...) account_comment_count(account = 'me', ...)

Arguments

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

Details

account_comments retrieves details of a user's comments. By default (and if a token argument is supplied), the current user's comments are returned. Specifying another username is also possible with or without a token. account_comment_count returns just the number of comments, which is useful for handling pagination of the results.

Returns

For account_comments, an object of class imgur_comment . For account_comment_count, a number.

Author(s)

Thomas J. Leeper

Examples

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