get_fb_suggested_radius {rsocialwatcher} | R Documentation |
When targeting around a specific location, returns a suggested radius to reach enough people
get_fb_suggested_radius(location, distance_unit = "kilometer", version, token)
location |
Vector of latitude and longitude ( |
distance_unit |
Either |
version |
'Facebook Marketing' API version; for example, "v19.0" |
token |
'Facebook Marketing' API token |
For more information, see the Facebook documentation here
Dataframe with suggested radius and distance unit
## Not run:
get_fb_suggested_radius(location = c(38.89831, -77.03658),
version = "v14.0",
token = "TOKEN-HERE")
## End(Not run)