Description Usage Arguments Author(s) See Also Examples
getGroup
retrieves information from a public Facebook group.
1 2 |
group_id |
Facebook ID for the group. Note that this is different from
the name on the URL. You can use |
token |
Either a temporary access token created at
https://developers.facebook.com/tools/explorer or the OAuth token
created with |
n |
Number of posts of page to return. Note that number can be sometimes higher or lower, depending on status of API. |
since |
A UNIX timestamp or strtotime data value that points to the start of the time range to be searched. For more information on the accepted values, see: http://php.net/manual/en/function.strtotime.php |
until |
A UNIX timestamp or strtotime data value that points to the end of the time range to be searched. For more information on the accepted values, see: http://php.net/manual/en/function.strtotime.php |
feed |
If |
api |
API version. e.g. "v2.8". |
Pablo Barbera pablo.barbera@nyu.edu
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## Find Facebook ID for R-Users Facebook group
load("fb_oauth")
ids <- searchGroup(name="rusers", token=fb_oauth)
ids[1,] # id = 18533493739
## Downloading posts from R-Users Facebook group
group <- getGroup(group_id=18533493739, token=fb_oauth)
## Downloading posts from R-Users Facebook group in January 2013
group <- getGroup(group_id=18533493739, token=fb_oauth,
since='2013/01/01', until='2013/01/31')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.