searchPages {Rfacebook} | R Documentation |
Search pages that mention a string
Description
searchPages
retrieves public pages that mention a given keyword
Usage
searchPages(string, token, n = 200)
Arguments
string |
string or string vector containing keywords to search. When searching using multiple keywords, the returned results will be pages whose name contains all the keywords. |
token |
Either a temporary access token created at
https://developers.facebook.com/tools/explorer or the OAuth token
created with |
n |
Maximum number of pages to return. |
Author(s)
Pablo Barbera pablo.barbera@nyu.edu, Joel Gombin joel.gombin@gmail.com
See Also
Examples
## Not run:
## See examples for fbOAuth to know how token was created.
## Searching 100 public pages that mention "facebook"
load("fb_oauth")
pages <- searchPages( string="facebook", token=fb_oauth, n=100 )
## End(Not run)
[Package Rfacebook version 0.6.15 Index]