auth_fbInsights: Authorize Facebook Insights access

Description Usage Arguments Value Examples

Description

auth_fbInsights generates a token which is saved to tokens/fbInsights_token and used for accessing Facebook Insights

Usage

1
2
3
auth_fbInsights(config_path = "config.json",
  token_path = "tokens/fbInsights_token", create_token = TRUE,
  extended_permissions = TRUE)

Arguments

config_path

path where the config.json file is located

token_path

path to the token file

create_token

whether a new token should be loadcreated (mandatory, if an existing token is not available in the dir tokens/)

extended_permissons

If TRUE, the token will give access to some of the authenticated user’s private information (birthday, hometown, location, relationships) and that of his/her friends, and permissions to post status updates as well as to access checkins, likes, and the user’s newsfeed If FALSE, token will give access only to public information.

Value

A google drive token in the (newly created?) tokens/fbInsights_token directory.

Examples

1
2
3
4
## Not run: 
auth_fbInsights("config.json", create_token=TRUE, extended_permissions = TRUE)

## End(Not run)

RazorfishGermany/reportingManager documentation built on May 9, 2019, 9:22 a.m.