Talk:Events.edit
From Facebook Developer Wiki
[edit] page_id vs host_id
How does create an event have an optional parameter of page_id and edit has one called host_id? What are they and what data is expected? Thanks
[edit] Bug?
Events.edit is inside the Session Optional API Category. I am trying to edit an event that the application has created, so it is both admin and creator. This page says 'However if you call this method without an active user session, then your application can edit an event only if it is the event creator.'
How is it then that I am getting the following error:
"Error message: A session key is required for calling this method Error code:453"
This is the code:
$facebook->expire_session();
$success = $facebook->api_client->events_edit($eid,json_encode($event_info));
I call expire session in order to avoid facebook thinking the app is doing the edit representing the logged in user. If I try to use the user session I'd need create_event extended permission and it makes no sense to require that in the context of my app :/
Is this a bug? Can anyone confirm it is not an error on my side? --1557560908 08:21, 2 June 2009 (PDT)
- Hi Maria, it might be a bug, so could you please file it in bugzilla? Thanks, Pete (563683308 11:45, 2 June 2009 (PDT))
- Done http://bugs.developers.facebook.com/show_bug.cgi?id=5532 --1557560908 14:07, 3 June 2009 (PDT)
