Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/facebook.current.accounts.R
facebook.current.accounts
pulls the list of pages the current user actually manages and put into a
FacebookPagesCollection-class
instance.
1 2 | facebook.current.accounts(token, parameters = list(),
n = getOption("facebook.maxitems"))
|
token |
Either a temporary access token created at
https://developers.facebook.com/tools/explorer or the OAuth token
created with |
parameters |
A list of parameters to be added to the Facebook Graph API query. For more information on the accepted parameters, see: https://developers.facebook.com/docs/graph-api/using-graph-api. |
n |
An integer value with the maximum number of participants to be pulled for each conversation in |
This function requires the use of a OAuth token with pages_show_list
permission granted.
Only the id
and the type
is returned in a mixed collection.
In normal circumstances, type
is always equal to page
.
A collection of mixed accounts in a FacebookMixedCollection-class
object with the id
and the type
for
each element included.
Gabriele Baldassarre https://gabrielebaldassarre.com
1 2 3 4 5 6 7 8 9 10 | ## Not run:
## See examples for fbOAuth to know how token was created.
load("fb_oauth")
admin.pages <- facebook.current.accounts(fb_oauth)
extended.pages <- admin.pages %>% FacebookPagesCollection()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.