Search code examples
facebookcalendarfacebook-page

Facebook Page Calendar Export


Is there any way of exporting upcoming events from a Facebook page into your own calendar?

For example, this page: https://www.facebook.com/Kato?sk=events has two upcoming events.

If you press the "export" link below the events, it will just export your own Facebook calendar.

I want to export these upcoming events, even though the user has not marked that they will attend them, and nothing but that. I would like it to function the same way as the current Facebook "export" function does.

Is it possible through the developer API or is it do-able in an even easier way?


Solution

  • You'll have to have the correct permissions to perform this action. To get all the events created by a person/page, all you have to do is query the Graph API as follows : https://graph.facebook.com/{EVENT_CREATOR_ID}/EVENTS
    In your case the EVENT_CREATOR_ID is the page_id.