Creating facebook events with api v2

醉酒当歌 提交于 2020-01-14 09:55:47

问题


Is possible to creating events with Facebook API?

It is possible in API v1:

https://developers.facebook.com/docs/graph-api/reference/v1.0/event#publish

But not in v2 (the current version):

https://developers.facebook.com/docs/graph-api/reference/v2.0/event#publish

Can I use v1? is there some other way to creating Facebook events in a PHP app?


回答1:


If you have an app that was created before 4/30/14 you can use v1. But at 4/30/15 v1 will be deprecated and you will have to use v2.




回答2:


According to changelog for v2.0 (https://developers.facebook.com/docs/apps/changelog#v2_0_games): Create event Removed - Apps can no longer create events with the API.




回答3:


If you check the V2 permissions page documentation by here https://developers.facebook.com/docs/facebook-login/permissions/v2.0 you will notice that the Extended Permissions - Publish still exist after your app is reviewed and approved by Facebook. Thus i beleive that if you get such approval to request publisch permissions to your users you can create events using the api.

This is my interpretation. It would be very helpfull if you could check that.



来源:https://stackoverflow.com/questions/23498292/creating-facebook-events-with-api-v2

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