This example used the deprecated “JSON Path“ and will be updated soon.

This example was created in 2017 and is probably not up-to-date.

Query the Facebook Graph API to gather information on different categories of the user profile, e.g. the movies entered by the user or the liked pages.

To get a valid access token, go to and request a token by logging in with your Facebook credentials. During the process you get to select the permissions associated with the token. Keep those in mind and make sure you only try to query data permitted by the token. The token generated with this tool will expire after one or two hours. To get more information on this refer to the facebook API documentation.

Datasource Type

REST Custom

Datasource Request Parameters

access_token < token created at Facebook Graph API Explorer >

Datasource URL

Datasource Test URL


Query URL


Parameter values

e.g. "likes" or "movies"

Query JSON Path


Converter Example

function convert(json) {
    var result = [];
    var parsedJsonObject = JSON.parse(json);
    var current, index;
    for (index in parsedJsonObject) {
        if (parsedJsonObject.hasOwnProperty(index)) {
            current = parsedJsonObject[index];
                'Item Name':,
                'Creation Date': PocketQuery.formatDate(current.created_time,'ddd, MMM Do YYYY, hh:mm')
    return result;