Problems retrieving facebook events (API changes?)
-
Hi,
first of all thanks for the event plugin and the facebook sync plugin!So, I was trying to get this working. I added a test event to FB but couldn’t get it imported. In the end I checked the FB API docu and checked the plugin code.
FB API 2.3 reference is here: https://developers.facebook.com/docs/graph-api/reference/v2.3/event
It seeems that the “eme_sfe_get_event” function is not working because FB changed some fields and made some structure changes:
– venue field doesn’t exist anymore
– place structure has been added and includes the location structure
– start and end time includes the GMT offiset
– timezone and ticket_uri fields have been addedIf you make the event call with these fields: $fields=array(“fields”=>”id,name,description,place,start_time,end_time,is_date_only,timezone,cover,ticket_uri,privacy”);
you get (almost) all data. (add cover photo and place to the event, then get the GPS data as well).
- The topic ‘Problems retrieving facebook events (API changes?)’ is closed to new replies.