Description Usage Arguments Examples
View source: R/functions.R View source: R/functions_dam.R
This returns, in a data frame, a summary of Instagram insights within the specified time period. Only 30 days' data can be retrieved through the API and this is the full scope of variables.
1 2 | fbins_insta(start_date, until_date, time_period, page_access_token,
insta_account)
|
start_date |
The first full day to report, in the format "YYYY-MM-DD" . |
until_date |
The last full day to report, in the format "YYYY-MM-DD" . |
page_access_token |
This must be a valid page access token with sufficient privileges. Visit the Facebook API Graph Explorer to acquire one. |
insta_account |
This is the Instagram business account to be queried. |
period |
One of "day", "week", "days_28", "month", "lifetime", "total_over_range" . |
1 2 | fbins_insta("start_date", "until_date", "period", "page_access_token", "insta_account")
fbins_insta("2017-01-20", "2017-01-22", "day", "ABCDEFG1234567890ABCDEFG", "1234567890123")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.