Facebook Graph audience insights queries

被刻印的时光 ゝ 提交于 2019-12-22 12:14:13

问题


I found some intriguing Facebook Graph API documentation here:

  • https://developers.facebook.com/docs/graph-api/reference/audience-insights-query
  • https://developers.facebook.com/docs/graph-api/reference/audience-insights-lifestyle/
  • https://developers.facebook.com/docs/graph-api/reference/audience-insights-lifestyles/ (plural)
  • https://developers.facebook.com/docs/marketing-api/audience-insights-api/v2.8

I think the results of those queries will be really powerful and could help my business.

But all of their examples are unclear and nonfunctional, such as:

$request = new FacebookRequest(
  $session,
  'GET',
  '...?fields={fieldname_of_type_AudienceInsightsLifestyle}'
);
$response = $request->execute();
$graphObject = $response->getGraphObject();

What would be a working example of something that should go where ... is currently and where it says {fieldname_of_type_AudienceInsightsLifestyle}?

And how can I find a full list of valid values for those?

来源:https://stackoverflow.com/questions/42333909/facebook-graph-audience-insights-queries

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!