Title: Problems retrieving facebook events (API changes?)
Last modified: August 24, 2016

---

# Problems retrieving facebook events (API changes?)

 *  Resolved [bep_11](https://wordpress.org/support/users/bep_11/)
 * (@bep_11)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/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](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 
   added
 * If 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).
 * [https://wordpress.org/plugins/eme-sync-facebook-events/](https://wordpress.org/plugins/eme-sync-facebook-events/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/problems-retrieving-facebook-events-api-changes/#post-5983779)
 * Well … you would be right if I was using 2.3 already.
    I’m still using 2.0, but
   I’ll try to update. But for reference: I just tried it on my public site and 
   my version still works just fine.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/problems-retrieving-facebook-events-api-changes/#post-5983810)
 * The latest trunk now contains the code to work with api v2.3
    I’ll release a 
   new version later today.
 *  Thread Starter [bep_11](https://wordpress.org/support/users/bep_11/)
 * (@bep_11)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/problems-retrieving-facebook-events-api-changes/#post-5983849)
 * Hi Franky,
    thanks very much for your superfast response! I’m very impressed.
 * Just 2 glitches:
    $offset_arr = date_parse($fb_event[‘start_time’]); … $offsetStart
   = strtotime($fb_event[‘start_time’])+$event_offset-$offset;
 * Please replace $fb_event with $event.
 * Thanks you very mucht!
 *  Thread Starter [bep_11](https://wordpress.org/support/users/bep_11/)
 * (@bep_11)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/problems-retrieving-facebook-events-api-changes/#post-5983850)
 * Hi Franky,
    just another remark.
 * I’m using the Disconnect Firefox plugin which blocks advertising and content 
   request.
    For synching Facebook events the web site must be whitelisted – otherwise
   the facebook login button doesn’t show.
 * Thanks
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/problems-retrieving-facebook-events-api-changes/#post-5983867)
 * Of course you’re right, released 1.0.9 for this.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problems retrieving facebook events (API changes?)’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eme-sync-facebook-events.svg)
 * [EME Sync Events](https://wordpress.org/plugins/eme-sync-facebook-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eme-sync-facebook-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eme-sync-facebook-events/)
 * [Active Topics](https://wordpress.org/support/plugin/eme-sync-facebook-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eme-sync-facebook-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eme-sync-facebook-events/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/problems-retrieving-facebook-events-api-changes/#post-5983867)
 * Status: resolved