Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Graph API 2.0 creating Events

According to facebook, as of April 30th 2014 the create_event method is no longer available which I assume means no ability to publish events?

https://developers.facebook.com/docs/apps/changelog

create_event is no longer available.

Is it still be possible using v1.0? (to be phased out April 30th, 2015). I haven't been able to find any examples and I want to publish event on behalf of a facebook page. Is this still possible?

https://developers.facebook.com/docs/graph-api/reference/v1.0/page/events

When I try it I get a depreciation warning and an impersonation for using a token for a page, but it also fails when I use my personal token. Probably because I don't have the create_event permission (despite requesting it, it doesn't show up in the facebook token debugger)

Deprecation warning: The REST API is now deprecated; please use the equivalent Graph API methods instead.  See http://developers.facebook.com/blog/post/616/.
=> {"error_code"=>190,
 "error_msg"=>"Impersonated access tokens can only be used with the Graph API",

Permissions:

[{"permission"=>"installed", "status"=>"granted"},
 {"permission"=>"public_profile", "status"=>"granted"},
 {"permission"=>"manage_pages", "status"=>"granted"},
 {"permission"=>"publish_actions", "status"=>"granted"}]
like image 309
holden Avatar asked May 30 '26 21:05

holden


2 Answers

Any application that has been active as a 1.0 application will still be able to create events until v1.0 is removed. If you just had a 1.0 application sitting around not doing anything, it probably lost the capability.

Example of an active app: Facebook for iOS can still create events.

like image 111
phwd Avatar answered Jun 02 '26 19:06

phwd


It seems there's a new API for managing events on behalf of a facebook page (still doesn't help for a personal profile).

https://developers.facebook.com/docs/pages/official-events

like image 35
blackboxlogic Avatar answered Jun 02 '26 19:06

blackboxlogic