getFQL {Rfacebook}R Documentation

Executes a FQL query to the Facebook Graph API

Description

getFQL connects to Facebook's Graph API and executes a FQL query. See https://developers.facebook.com/docs/technical-guides/fql/ for an overview of the Facebook Query Language.

Usage

getFQL(query, token)

Arguments

query

Text of query

token

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

Author(s)

Pablo Barbera pablo.barbera@nyu.edu

Examples

## Not run: 
## See examples for fbOAuth to know how token was created.
## Getting list of friends of authenticated user
load("fb_oauth")
d <- getFQL("SELECT uid2 FROM friend WHERE uid1=me()", token=fb_oauth)

## End(Not run)


[Package Rfacebook version 0.6.15 Index]