Description Usage Arguments Details Author(s) See Also Examples
getLikes
retrieves information about a friend's likes.
To retrieve the number of likes for a page, use getUsers
with the page IDs.
1 | getLikes(user, n = 500, token)
|
user |
A user ID or screen name. |
n |
Maximum number of likes to return for each user. |
token |
Either a temporary access token created at
https://developers.facebook.com/tools/explorer or the OAuth token
created with |
This function requires the use of an OAuth token with the following permissions: user_likes, friends_likes
Pablo Barbera pablo.barbera@nyu.edu
1 2 3 4 5 | ## Not run:
token <- 'XXXXX'
my_likes <- getLikes(user="me", token=token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.