公众见解

时间:2012-07-23 02:21:11

标签: facebook-graph-api facebook-fql facebook-insights

有了新功能,任何人都可以从没有管理员权限的网页上看到某些见解,我很好奇这是否扩展到图表api,特别是关于粉丝增长的图表。如果您将鼠标悬停在数据点上,它会告诉您新的粉丝/该特定时间点的7天 - 有没有办法用fql或常规图形API自动查询?

我已经尝试SELECT metric, value FROM insights WHERE object_id = 224383614973 AND metric = 'page_fan_adds' AND end_time=1342915199 AND period=86400查询麦当劳的加拿大新粉丝一天,但需要有效的access_token。

1 个答案:

答案 0 :(得分:5)

对于迟到的回复感到抱歉,但它可能对某人有所帮助。您可以使用图形资源管理器来构建FQL查询:

https://developers.facebook.com/tools/explorer/?method=GET&path=CocaColaCanada%2Finsights

page的所有指标均以page_开头,可在此处获取: https://developers.facebook.com/docs/reference/api/insights/#page_stories

其中一些不公开。 在所有情况下,您需要有效的access_token

<强>更新

我使用facebook提供的233个指标为macdonald运行脚本,以查看哪个指标是页面的公共指标。结果如下:

麦当劳(233个指标)

  • application_active_users:否
  • application_active_users_locale:否
  • application_active_users_city:否
  • application_active_users_country:no
  • application_active_users_gender:否
  • application_active_users_age:否
  • application_active_users_gender_age:否
  • application_installed_users:no
  • application_installed_users_locale:否
  • application_installed_users_city:否
  • application_installed_users_country:no
  • application_installed_users_gender:no
  • application_installed_users_age:no
  • application_installed_users_gender_age:否
  • application_installation_adds:no
  • application_installation_adds_unique:no
  • application_installation_removes:no
  • application_installation_removes_unique:no
  • application_tos_views:no
  • application_tos_views_unique:no
  • application_permission_views_top:no
  • application_permission_views_top_unique:no
  • application_permission_grants_top:no
  • application_permission_grants_top_unique:no
  • application_block_adds:no
  • application_block_adds_unique:no
  • application_block_removes:no
  • application_block_removes_unique:no
  • application_mobile_app_installs:no
  • application_like_adds:no
  • application_like_adds_unique:no
  • application_like_removes:no
  • application_like_removes_unique:no
  • application_comment_adds:no
  • application_comment_adds_unique:no
  • application_photos:no
  • application_photos_unique:no
  • application_shares:no
  • application_shares_unique:no
  • application_status_updates:no
  • application_status_updates_unique:no
  • application_stream_stories:no
  • application_stream_stories_unique:no
  • application_feed_form_views:否
  • application_feed_form_views_unique:no
  • application_feed_form_views_login:否
  • application_feed_form_views_login_unique:no
  • application_feed_form_views_logout:否
  • application_widget_activity_views:no
  • application_widget_activity_views_unique:no
  • application_widget_activity_views_login:否
  • application_widget_activity_views_login_unique:no
  • application_widget_activity_views_logout:no
  • application_widget_activity_views_external_referrals:否
  • application_widget_comments_views:否
  • application_widget_comments_views_unique:no
  • application_widget_comments_views_login:否
  • application_widget_comments_views_login_unique:no
  • application_widget_comments_views_logout:no
  • application_widget_fan_views:没有
  • application_widget_fan_views_unique:no
  • application_widget_fan_views_login:否
  • application_widget_fan_views_login_unique:no
  • application_widget_fan_views_logout:no
  • application_widget_fan_views_external_referrals:no
  • application_widget_like_views:否
  • application_widget_like_views_unique:no
  • application_widget_like_views_login:否
  • application_widget_like_views_login_unique:no
  • application_widget_like_views_logout:no
  • application_widget_like_views_external_referrals:no
  • application_widget_live_stream_views:否
  • application_widget_live_stream_views_unique:no
  • application_widget_live_stream_views_login:否
  • application_widget_live_stream_views_login_unique:no
  • application_widget_live_stream_views_logout:no
  • application_widget_live_stream_views_external_referrals:no
  • application_widget_recommendation_views:no
  • application_widget_recommendation_views_unique:no
  • application_widget_recommendation_views_login:no
  • application_widget_recommendation_views_login_unique:no
  • application_widget_recommendation_views_logout:no
  • application_widget_recommendation_views_external_referrals:no
  • application_widget_share_views:没有
  • application_widget_share_views_unique:no
  • application_widget_views:no
  • application_widget_views_unique:no
  • application_widget_views_login:否
  • application_widget_views_login_unique:no
  • application_widget_views_logout:no
  • application_opengraph_action_create:no
  • application_opengraph_action_delete:no
  • application_opengraph_object_create:no
  • application_opengraph_object_update:no
  • application_opengraph_story_impressions:否
  • application_opengraph_story_click:no
  • application_opengraph_story_like:没有
  • application_opengraph_story_unlike:no
  • application_opengraph_story_comment:no
  • application_opengraph_story_hide:no
  • application_opengraph_story_hide_all:no
  • application_opengraph_story_report_spam:no
  • application_opengraph_link_impression:no
  • application_opengraph_link_click:no
  • application_opengraph_timeline_impressions:否
  • application_opengraph_timeline_spam:no
  • application_opengraph_timeline_clicked:no
  • application_canvas_views:no
  • application_canvas_views_unique:no
  • application_canvas_views_login:否
  • application_canvas_views_login_unique:no
  • application_canvas_views_logout:no
  • application_canvas_views_internal_referrals:否
  • application_canvas_views_external_referrals:no
  • application_tab_views:否
  • application_tab_views_unique:no
  • application_api_calls:no
  • application_api_calls_top:no
  • application_api_calls_unique:no
  • application_api_errors:no
  • application_api_errors_rate:no
  • application_api_errors_top:no
  • application_api_time_average:no
  • application_canvas_errors:no
  • application_canvas_errors_rate:no
  • application_canvas_time_average:no
  • page_fans_locale:没有
  • page_fans_city:否
  • page_fans_country:确定
  • page_fans_gender_age:没有
  • page_fan_adds:没有
  • page_fan_adds_unique:没有
  • page_fans_by_like_source:没有
  • page_fans_by_like_source_unique:no
  • page_fan_removes:没有
  • page_fan_removes_unique:没有
  • page_friends_of_fans:没有
  • page_tab_views_login_top_unique:没有
  • page_tab_views_login_top:否
  • page_views:没有
  • page_views_unique:否
  • page_views_login:否
  • page_views_login_unique:没有
  • page_views_logout:否
  • page_views_external_referrals:否
  • page_posts_impressions:没有
  • page_posts_impressions_unique:否
  • page_posts_impressions_paid:否
  • page_posts_impressions_paid_unique:否
  • page_posts_impressions_organic:no
  • page_posts_impressions_organic_unique:否
  • page_posts_impressions_viral:否
  • page_posts_impressions_viral_unique:no
  • page_posts_impressions_frequency_distribution:否
  • post_stories:no
  • post_storytellers:没有
  • post_stories_by_action_type:否
  • post_storytellers_by_action_type:否
  • post_impressions:没有
  • post_impressions_unique:no
  • post_impressions_paid:否
  • post_impressions_paid_unique:no
  • post_impressions_fan:没有
  • post_impressions_fan_unique:没有
  • post_impressions_fan_paid:否
  • post_impressions_fan_paid_unique:否
  • post_impressions_organic:no
  • post_impressions_organic_unique:no
  • post_impressions_viral:no
  • post_impressions_viral_unique:no
  • post_impressions_by_story_type:否
  • post_impressions_by_story_type_unique:no
  • post_consumptions:no
  • post_consumptions_unique:no
  • post_consumptions_by_type:没有
  • post_consumptions_by_type_unique:no
  • post_engaged_users:没有
  • post_negative_feedback:没有
  • post_negative_feedback_unique:no
  • post_negative_feedback_by_type:否
  • post_negative_feedback_by_type_unique:no
  • domain_feed_clicks:否
  • domain_feed_views:否
  • domain_stories:否
  • domain_widget_comments_adds:否
  • domain_widget_comments_views:否
  • domain_widget_comments_feed_views:否
  • domain_widget_comments_feed_clicks:否
  • domain_widget_like_views:否
  • domain_widget_likes:否
  • domain_widget_like_feed_views:否
  • domain_widget_like_feed_clicks:否
  • domain_widget_send_views:否
  • domain_widget_send_clicks:否
  • domain_widget_send_inbox_views:否
  • domain_widget_send_inbox_clicks:否
  • page_stories:no
  • page_storytellers:没有
  • page_stories_by_story_type:没有
  • page_storytellers_by_story_type:没有
  • page_storytellers_by_age_gender:没有
  • page_storytellers_by_country: ok
  • page_storytellers_by_locale:没有
  • page_impressions:否
  • page_impressions_unique:否
  • page_impressions_paid:否
  • page_impressions_paid_unique:否
  • page_impressions_organic:no
  • page_impressions_organic_unique:no
  • page_impressions_viral:否
  • page_impressions_viral_unique:否
  • page_impressions_by_story_type:否
  • page_impressions_by_story_type_unique:否
  • page_impressions_by_city_unique:否
  • page_impressions_by_age_gender_unique:否
  • page_impressions_frequency_distribution:否
  • page_impressions_viral_frequency_distribution:否
  • page_engaged_users:没有
  • page_consumptions:没有
  • page_consumptions_unique:no
  • page_consumptions_by_consumption_type:no
  • page_consumptions_by_consumption_type_unique:no
  • page_places_checkin_total:否
  • page_places_checkin_total_unique:no
  • page_places_checkin_mobile:没有
  • page_places_checkin_mobile_unique:no
  • page_places_checkins_by_age_gender:没有
  • page_places_checkins_by_locale:没有
  • page_places_checkins_by_country:没有
  • page_negative_feedback:没有
  • page_negative_feedback_unique:没有
  • page_negative_feedback_by_type:否
  • page_negative_feedback_by_type_unique:no

开始于:2013-04-17 02:14:29 截止日期:2013-04-17 02:17:13 第二次过去了:164s

在这里输入代码