apiCall: Make API call to get data of fanpage fans

Description Usage Arguments Value Examples

View source: R/apiCall.R

Description

apiCall makes API call to get data of fanpage fans from Facebook Graph API

Usage

1
apiCall(id, ad.account, token, date.from, date.to)

Arguments

id

id of fanpage

ad.account

ad account from Facebook

token

token from Facebook

date.from

start date of research

date.to

end date of research

Value

url to JSON with data

Examples

1
2
3
apiCall(450100695180891,224371541,
'EAADd6gCguI8BABCa5jew3mZBSV4qjEZAdrYHeDDf8zfwCZAXZCgLr9zXtrU6FsEGdfh44gZB1CMMxo7k7ZAXtal615Pb2r9H6CLfqxhK2JrvVWF3LDykayAToJ34eYlvQyYXbXygTDVrC8c5OoYlXWp4ZAT389vgk0ZD',
'2017-01-01', '2017-05-01')

karolgileta/FanpageData documentation built on June 24, 2017, 8:41 a.m.