Facebook图形API为现有和公共事件返回false [英] Facebook graph API returns false for existing and public event
问题描述
有一个公开的Facebook活动,例如: http://www.facebook.com/events / 197276753679964 /
我想使用Facebook图形API获取有关此事件的信息。
我正在使用此查询网址: http://graph.facebook.com/197276753679964
There is a public Facebook event, for example: http://www.facebook.com/events/197276753679964/ I want to get information about this event using Facebook graph API. I'm using this query url: http://graph.facebook.com/197276753679964
Facebook返回false,但事件是现有的和公开的,那么有什么问题?
Facebook returns "false", but event is existing and public, so what's the problem?
另外还有一些这个令人讨厌的行为的事件,但其他〜95%我可以使用FB graph API成功读取。
There are a few more events with this annoying behaviour, but other ~95% I can read succesfully using FB graph API.
推荐答案
事件由在人口统计上受限制的组或页面拥有,即使使用可以看到事件/页面的用户的访问令牌,您也只能访问该事件。
(这个问题似乎是这个例子)
If the event is owned by a group or page which is restricted demographically, you can only access that even with the access token of a user who can see the event / page. (this appears to be the case with the example in this question)
一般来说(一个当前的bug除外),'false'意味着隐私检查失败
In general (one current bug excepted), 'false' means a privacy check failed
这篇关于Facebook图形API为现有和公共事件返回false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!