Facebook Exported Upcoming Whole Day Events Wrong

Submitted by Emil on Tue, 07/31/2012 - 22:04

Update (2012-08-02): Visit http://icalfilter.com/fbfix.php and paste the url to get the url for the corrected calendar.

When exporting your Facebook Events feed to webcal/ical/ics, the whole day (no given time) events are one day early. Until Facebook decides to fix this, I have created a proxy script. Just supply it with the same uid and key as in Facebook's version and it will correct these errornous events.


It works like a charm for me, but let me know if you are having trouble using it. Also check out http://icalfilter.com and see if it might be something for you as well.

Anonymous (not verified)

Wed, 08/08/2012 - 21:35

Is it possible to get the source code for this? I guess this currently sends my calendar to a server on the internet so it would be nice to have the option of hosting it myself.


Thu, 08/09/2012 - 08:30

In reply to by Anonymous (not verified)

I understand your concerns and will consider it and in that case under what form of licensing, etc. In the meantime, I can promise you that I do not do anything malicious with your content. The content is not cached on my server but only available in-memory during the correction phase when you access the script. I do not log the URLs you access, so I can't have a look at them myself later. I do some statistics about the number of users and events corrected but everything is one-way encrypted so I can't track you by using it.

It IS a concern, i do appreciate your efforts.
But you can say all you like about not using it but thats no guarantee. Accessing the data through you as a man in the middle, providing you my UID and KEY seems naive. It's the only thing keeping me from using it, please consider sharing the source :)

Anonymous (not verified)

Tue, 08/21/2012 - 10:42

This used to work like a charm, but recently it stopped showing the all-day events all together.


Wed, 08/22/2012 - 10:55

In reply to by Anonymous (not verified)

Found a possible source of the bug and learned some more details about the ical format. Should be working now, but please keep me informed if it is not.