getLikes {instaR} | R Documentation |
Get the list of users who liked a photo.
Description
getLikes
retrieves the list of users who liked a photo.
Usage
getLikes(id, token, verbose = TRUE)
Arguments
id |
Numeric ID of photo. |
token |
An OAuth token created with |
verbose |
If |
Details
IMPORTANT: After June 1st, 2016 only applications that have passed permission review by Instagram will be allowed to access data for users other than the authenticated user. See https://www.instagram.com/developer/review/ for more information.
Author(s)
Tiago Dantas t.mendesdantas@gmail.com
Examples
## Not run:
## See examples for instaOAuth to know how token was created.
## Downloading list of users who liked @barackobama's most recent photo
load("my_oauth")
obama <- getUserMedia( username="barackobama", token=my_oauth, n=1)
likes <- getLikes(obama$id[1], token=my_oauth)
## End(Not run)
[Package instaR version 0.2.4 Index]