获取Facebook活动到RSS提要 [英] Get Facebook Events to RSS feed
问题描述
如何从Facebook获取用户的所有事件Rss。我尝试下面的链接,但它只提供一个事件不是全部。
How to get all events as Rss for a user from Facebook. I tried below link but it giving only one event not all.
https://developers.facebook.com/tools/explorer/?method=GET&path=643795265635061
我找不到任何链接来获取所有活动用户。有没有办法以RSS或Json格式获取所有事件。
I could not find any link to get all events for the user. Is there any way to get all events in RSS or Json format.
谢谢
推荐答案
活动可以导出在流行的日历格式(苹果iCal,微软Outlook,谷歌日历),但不幸的是没有公共饲料!要以JSON获取事件Feed,您需要具有 access_token 。您可以通过 Facebook的图形浏览器:
Events can be exported in popular calendar formats (Apple iCal, Microsoft Outlook, Google Calendar) but unfortunately there is no public feed! To retrieve an event feed as JSON, you need to have an access_token. You can test it easily via Facebook's Graph Explorer:
https://developers.facebook.com/tools/explorer/145634995501895/?method= GET& path = taakeofficial%2Fevents%2F
当以编程方式(或提供您自己的最新Feed)需要使用(PHP,for一个服务器),并将您的access_token添加到查询中:
When implementing it programatically (or serving your own up-to-date feed), you'll need to use one of the Facebook SDKs (PHP, for a server) and add your access_token to the query:
https://graph.facebook.com/taakeofficial/events?access_token=ABC123
这篇关于获取Facebook活动到RSS提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!