6
アプリの投稿からリーチを取得する方法はありますか?私のアプリの投稿からFacebookのリーチを見つける方法は?
例: 私のアプリは、特定のファンページに写真を掲載しています。私のアプリがそのファンページに提供したリーチを取得して、自分のアプリがどれほど素晴らしいかを表示したいと考えています。
アプリの投稿からリーチを取得する方法はありますか?私のアプリの投稿からFacebookのリーチを見つける方法は?
例: 私のアプリは、特定のファンページに写真を掲載しています。私のアプリがそのファンページに提供したリーチを取得して、自分のアプリがどれほど素晴らしいかを表示したいと考えています。
管理しているページのページアクセストークンを使用します(read_insights
Permission)。
/POST_ID/insights
にアクセスして、その投稿に関するインサイト情報を取得できます。
マイページのサンプル投稿の場合は、投稿のインプレッションデータが返されます。 抜粋:
{
"id": "[ID REMOVED]/insights/post_story_adds_by_action_type/lifetime",
"name": "post_story_adds_by_action_type",
"period": "lifetime",
"values": [
{
"value": {
"like": 20,
"comment": 3,
"share": 1
}
}
],
"title": "Lifetime Post Stories by action type",
"description": "Lifetime The number of stories created about your Page post, by action type. (Total Count)"
},
{
"id": "[ID REMOVED]/insights/post_impressions_unique/lifetime",
"name": "post_impressions_unique",
"period": "lifetime",
"values": [
{
"value": 936
}
],
"title": "Lifetime Post Total Reach",
"description": "Lifetime The number of people who saw your Page post. (Unique Users)"
},
{
"id": "[ID REMOVED]/insights/post_impressions/lifetime",
"name": "post_impressions",
"period": "lifetime",
"values": [
{
"value": 2936
}
],
"title": "Lifetime Post Total Impressions",
"description": "Lifetime The number of impressions of your Page post. (Total Count)"
},
これが開始されたときからのブログ記事はこちら:https://developers.facebook.com/blog/post/573/ そしてinsights
接続がPost documentation