Learn R Programming

imguR (version 1.0.0)

favorite_image: Favorite image

Description

Favorite an image

Usage

favorite_image(id, ...)

Arguments

id
An image ID or object of class imgur_image.
...
Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Value

  • An object of class imgur_basic.

Details

Favorites an image.

Examples

Run this code
tkn <- imgur_login()
favorite_image("DgqMUeq", token = tkn)

Run the code above in your browser using DataLab