Question:

When I create an event via the Graph API, the start time of the event created is different from what I have specified. Why?

 

 

 

Answer:

Appreciate if you can like this page if you find it useful! - Click "Like"

Recently, something is done by Facebook in handling the timezone for event created. For details, see http://bugs.developers.facebook.net/show_bug.cgi?id=7210

Earlier, when creating events, we have to "handle" the timezone difference between the user and facebook's server (which is a little tricky as we probably need to test out FB's server timezone).  But now we do not need to do so. When you create the event via the Graph API, simply specify the start time of the event in ISO-8601 date/time format with you own timezone information.

This feature had been implemented in "Our 1st FB App (PHP SDK) v1.6 and sample code can be downloaded in this page.

 

 

Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!