- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有 2 个我是管理员的 Facebook 页面,我们称它们为 page_a
和 page_b
如果我为 page_a 运行它,它会按预期工作:
HTTP GET -> {PAGE_A_ID}/insights?metric=page_fans_country
{
"data": [
{
"name": "page_fans_country",
"period": "day",
"values": [
{
"value": {
"AR": 4,
"AT": 13,
"AU": 7,
"BE": 16,
....
我使用的页面访问 token 具有以下范围:read_insights
、manage_pages
、pages_show_list
和 public_profile
但是当我尝试查询帖子的详细信息时,我得到了这个
HTTP GET -> {PAGE_A_ID}_{PAGE_A_POSTID}/insights?metric=post_impressions,post_impressions_unique,post_video_views,post_video_views_unique&period=lifetime
{
"error": {
"message": "Permissions error",
"type": "OAuthException",
"code": 200,
"error_subcode": 1504029,
"is_transient": false,
"error_user_title": "User doesn't have enough permissions to load insights",
"error_user_msg": "You do not have enough permission to view the metric.",
"fbtrace_id": "..."
}
}
当我对 page_b 做同样的事情时它会起作用
HTTP GET -> {PAGE_B_ID}_{PAGE_B_POSTID}/insights?metric=post_impressions,post_impressions_unique,post_video_views,post_video_views_unique&period=lifetime
{
"data": [
{
"name": "post_video_views",
"period": "lifetime",
"values": [
{
"value": 0
}
],
....
page_b 的页面访问 token 与 page_a 具有相同的范围
我可以在 Facebook UI 中看到所有数字,但我无法通过 API 访问它,以前有人遇到过类似问题吗?我卡住了,不知道从这里去哪里。
以上所有代码都已在 Facebook Graph Explore 中运行,并带有新生成的标记。
任何关于从这里到哪里去的意见都将受到赞赏。
最佳答案
正如@xuantuan58 在评论中提到的,这似乎是 FB API 中的一个错误。 https://developers.facebook.com/support/bugs/301627877187448/
也可能与此错误报告有关:https://developers.facebook.com/support/bugs/2380273985356980/
我注意到它只发生在某些用户和页面上,但到目前为止我还看不到模式。有时 API 不会返回错误,而只会返回一个空数据数组。如果您认为响应中应该有数据,请尝试使用图形浏览器工具,因为我发现它有时会提供更好的错误响应。
https://developers.facebook.com/tools/explorer/
更新:此问题现已被 Facebook 标记为已解决。我测试了一下,发现这个问题确实已经修复了。
关于Facebook 图页/帖子见解 - 权限错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55220551/
我发现自己迫切需要您的见解。 这是我感兴趣的对象: class Mergable m where merge :: m -> m -> Maybe m mergeList :: [m]
我正在尝试将网站添加到 insights 中,并且在过去已经成功地做到了这一点。但是,当我尝试添加时,我收到“在根网页上找不到管理数据”错误。我按照指示将 '' 添加到根目录,但 insights 仍
我对如何在 C++ 中使用 vector 感到有点沮丧。我广泛使用它们,尽管我不确定我是如何使用它们的。以下是问题? 如果我有一个 vector ,可以说:std::vector v_strMyVec
我们正在尝试通过广告帐户洞察从 Marketing API 获取一些数据。 我们已找到所需的大部分字段,但找不到与网络界面中提供的“3 秒视频观看次数”属性相对应的字段。 以下字段可用: video_
我刚开始使用 Facebook,老实说,我发现它非常令人困惑,术语和文档在很多情况下似乎非常模糊。有人可以用简单的英语解释我如何实现以下目标吗? 将图片发布到 Facebook(在用户页面上),然后检
我需要使用 Azure Insights 监控辅助角色的 CPU 利用率,有人有这方面的教程吗? 提前致谢, 最佳答案 您可以尝试使用此处提到的 Azure 监控服务 API https://conv
我对 Facebook Insight 和 OData 都很陌生。一般来说,我对编程很陌生,所以请耐心等待。(我刚刚了解了 Maven、依赖关系、JDBC 等等)。 我的主要问题是我没有足够的知识了解
我正在尝试根据 PageSpeed Insights 的建议来优化我的网站。我的网站链接是Evant 。我对两个建议有疑问;首先是消除渲染阻塞 CSS。我尝试预加载其中一些,但事实证明,当我这样做时,
我最近开始开发 Rest api,并偶然发现了这些术语 - jetty、jackson 和 jersey。我在普通 Eclipse 上使用 jersey 成功开发了 Rest api。 我相信jack
我在这里完成了所有步骤: https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads/ ...并在我的应用中正确安装了 SDK:
我正在使用下面的代码来获取我的 channel 洞察数据的链接。不知何故,我的代码返回 null 作为链接。 /*代码***/ public static final String FEED_URL
我是一名优秀的程序员,十分优秀!