facebook图表api不返回Facebook页面上的所有Feed项目 [英] facebook graph api does not return all feed items on facebook page

查看:148
本文介绍了facebook图表api不返回Facebook页面上的所有Feed项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这个问题的时候,如果你去这里:



http://www.facebook.com/realplayer



你会看到六个帖子,我已经发布了一封带有#highfive辛辛那提,俄亥俄州



但是如果你这些中的任何一个:



http://graph.facebook.com/realplayer/feed

http://graph.facebook.com/realplayer/tagged



返回的JSON似乎包括墙上的所有东西,除了我的帖子。另外还有另一张照片来自别人以下的照片,它正在显示(我的照片和他的照片都在粉丝照片部分)



显然,因为我可以看到这些链接的所有东西,似乎access_token不是方程式的一部分...但是,一些更多的信息:




  • 如果我使用非我的会话中的access_token,则如果我使用我的登录会话中的access_token,则我无法看到JSON

  • 中的帖子我看到JSON中的帖子



所以我很困惑。



如果世界上每个人都可以看到墙上的那些帖子,甚至没有身份验证,那么我希望所有的人都可以在图表api中回来。



任何人都有这个想法?






我知道manage_page权限,我可以使用它来获取这些页面的帐户列表和特殊的离线访问令牌...这是一个我可以探索...但似乎很多工作,当我的帖子似乎应该在图中

解决方案

看起来像FB有一个很好的小反垃圾邮件功能的页面...这样一个非管理员不能写你的页面上的大量消息。有趣的是,Facebook使用了StackOverflow使用的类似沉默处理技术( http://blog.stackoverflow.com) / 2008/09 / podcast-21 / )...所以当我看着我一直在垃圾邮件的墙壁,我会看到我的所有帖子,但没有其他人会。 p>

我可以创建一个新的测试帐户,并在页面上收到大约3或4个消息,然后再次阻止我。



所以Graph API可能按照设计工作:)



=================== ===



更新:这似乎只是问题的一部分。我已经构建了另一个页面和应用程序,并进行了测试:



http://www.facebook.com/pages/RP-Test-Page/116735865065591



注意条目#highfive Orlando,FL...即使是一个未经身份验证的用户也可以从实际页面看到这个条目,但似乎没有办法让我通过API获得回复。他只发了一次,所以它不能是一个反垃圾邮件的事情(你不会想)。



我已经显然尝试了Graph API没有我自己的访问令牌)



我尝试过FQL(有和没有我自己的访问令牌)



我已经按照这个职位:
http://en-gb.facebook.com/topic.php?uid=10381469571&topic=3815&post=51980
为了从我自己请求manage_pages和offline_access扩展权限,并使用它获取/ me / accounts,然后获取模拟访问令牌(whew)... STILL NOTHING



必须有其他一些超级安全的事情。是不是可靠地从页面上获得所有的墙上帖子?


at the time of this question, if you go here:

http://www.facebook.com/realplayer

you'll see six posts down, I have posted a photo with a message of "#highfive Cincinnati, OH"

but if you to either of these:

http://graph.facebook.com/realplayer/feed
http://graph.facebook.com/realplayer/tagged

the JSON that is returned seemingly includes everything on the wall, except for MY post. there is another photo post from someone else down below mine, and it is showing up (and both my photo and his photo are in the "Fan photos" section)

obviously, since I can see everything with these links already, it appears that access_token is not a part of the equation... BUT, some more info:

  • if I use an access_token from a session that isn't me, I can't see the post in the JSON
  • if I use an access_token from MY logged in session, then I DO see the post in the JSON

so I'm very confused.

if everyone in the world can see those posts on the wall without even authenticating, then I expect all of them to come back in the graph api as well.

anyone have thoughts on this?


I am aware of the "manage_page" permission... which I can use to get a list of accounts and special offline access tokens for those pages... and that's something I can explore... but it seems like alot of work when my post seemingly SHOULD be there in the graph

解决方案

well looks like FB has this nice little anti-spam feature for pages... such that a non-admin can't write lots of messages on your page. what's interesting is that facebook uses similar "silent treatment" techniques that StackOverflow uses ( http://blog.stackoverflow.com/2008/09/podcast-21/ )... so when I look at a wall that I've been "spamming" I will see all of my posts... but no one else will.

I was able to create a new test account and get about 3 or 4 messages on a page before it started blocking me again

so probably the Graph API is working as designed :)

========================

UPDATE: this appears to only be part of the problem. I have constructed another page and app and been doing testing:

http://www.facebook.com/pages/RP-Test-Page/116735865065591

note the entry for "#highfive Orlando, FL" ... even an unauthenticated user can see this entry from the actual page... but there is seemingly no way for me to get it back through the API. He only posted once, so it can't be an "anti-spam" thing (you wouldn't think).

I have obviously tried the Graph API (with and without my own access token)

I have tried FQL (with and without my own access token)

and I have followed this post: http://en-gb.facebook.com/topic.php?uid=10381469571&topic=3815&post=51980 in order to request manage_pages and offline_access extended permissions from myself and use that to get the /me/accounts and then get the "impersonation" access token (whew)... STILL NOTHING

there must be some other super security thing going on. is it not possible to reliably get all of the wall posts from a page?

这篇关于facebook图表api不返回Facebook页面上的所有Feed项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆