我帮助了一个朋友与场地列出FB上的所有事件与位置,门票URI,时间网站,名单的Facebook页面事件使用FQL或图形API
场地等我已经找到了很多关于如何获取数据的信息,但是我不清楚如何在没有登录到FB的情况下获取公共事件。
我需要什么类型的令牌才能让网站简单地提取事件数据并将其显示给访问者?
基本上,我试图做的是显示一系列即将发生的事件,并假设该网站的访问者未登录到FB。
在此页面,https://developers.facebook.com/docs/reference/fql/event,就这样说:
权限
要阅读你所需要的事件表:
a generic access_token for public events (those whose privacy is set to OPEN)
a user access_token with user_events permission for a user who can see the event for non-public events
an app access_token with user_events permission (for non-public events, must be the app that created the event)
a page access_token with user_events permission (for non-public events, must be the page that created the event)
我不希望得到的代码帮助真的,我只是无法弄清楚access/auth过程如何工作。
看来FQL可能是最好的选择,所以我可以根据日期范围进行查询,但唉,我卡在access/auth/token部分。
我需要在第三方网站上列出Page的事件吗?
如果有人有任何意见,我将不胜感激。谢谢。