Last data update: 2014.03.03

R: Search pages that mention a string
searchPagesR 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. Note that the returned results will contain any of the keywords.

token

Either a temporary access token created at https://developers.facebook.com/tools/explorer or the OAuth token created with fbOAuth.

n

Maximum number of pages to return.

Author(s)

Pablo Barbera pablo.barbera@nyu.edu, Joel Gombin joel.gombin@gmail.com

See Also

fbOAuth, searchFacebook

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)

Results