Get Facebook Events to RSS feed

我的梦境 提交于 2019-12-07 07:08:48

问题


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

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.

Thanks


回答1:


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

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




回答2:


You can no longer do this thanks to the wonderful people at Facebook:

Events, Groups, Pages and Instagram APIs will no longer be available to new developers

apps currently accessing Events and Groups APIs will lose access today

https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes



来源:https://stackoverflow.com/questions/15921227/get-facebook-events-to-rss-feed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!