Rails考拉获取页面和页面的见解

Rails考拉获取页面和页面的见解

本文介绍了Rails考拉获取页面和页面的见解的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取页面帖子的见解 []

这是针对adidas页面

pp graph.get_object(182162001806727 /见解/)

它通常返回国家/地区数据的字段,而$ page_impressions page_engagement

This is for the adidas page
pp graph.get_object("182162001806727/insights/")
It generally returns fields for country data and nothing for page_impressions or page_engagement, etc

尽管文档提到了数据分析是为一个超过30个喜欢的psot /页面,但仍然没有。

Even though the docs mention that Insights are generated for a psot/page with more than 30 likes, but still nothing.

事实上,Adidas页面第一篇文章的见解绝对没有返回

pp graph.get_object(182162001806727_1189840444372206 /见解)



graph.get_connections('182162001806727_1189840444372206 ','见解/ page_impressions_frequency_distribution',期间:'周'

Infact, insights for the first post of Adidas page returns absolutely nothing
pp graph.get_object("182162001806727_1189840444372206/insights")
or
graph.get_connections('182162001806727_1189840444372206', 'insights/page_impressions_frequency_distribution', period: 'week'

即使它有很多喜欢和评论,如果你检查他们饲料。

even though it has high amount of likes and comments, if you check their feed.

那么,什么是正确的方法或甚至可能或公开使用

而且,对于页面,可以使用page_impression /参与数据吗?

And, for pages, is the page_impression/engagement data available?

推荐答案

以粗体突出显示的两个权限是唯一两个公开可用的权限。对于其他一切,您需要一个管理员用户令牌或页面令牌。

Those two permissions highlighted in bold are the only two publicly available ones. For everything else, you need an admin user token or a page token.

这篇关于Rails考拉获取页面和页面的见解的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 06:21