Import Facebook Events

To Import Facebook Events to MEC plugin events from the page, you need to be the admin of the page. So, first you need to create a temporary access token and then upgrade it to a permanent one. To do this, please follow the instructions below:

1. First of all, you need to sign-up on Facebook developers channel.

 

Importing Facebook Events to modern Event Calendar

 

2. Then, you need to create a Facebook app if you don’t have one.

 

Importing Facebook Events to MEC plugin

 

Importing Facebook Events to MEC plugin WordPress

 

3. Now, in order to create a temporary access token you need to go to Facebook Graph API Explorer.

3.1. Click on the drop-down menu to choose an app.

 

Importing Facebook Events to MEC plugin and Facebook API

 

3.2. Then, from the new drop-down menu choose Get user access token.

 

Importing Facebook Events to MEC plugin WordPress

 

3.3. When you click on “Get user access token” from the drop-down menu, a new pop-up, just like the one in the image below, will appear in which you can select the permissions for the user access token.

 

How to Import Facebook Events to MEC plugin

 

3.4. Then, as a prerequisite to generating a permanent access token, you need to check the boxes for both “publish_pages” and “manage_pages”.

Now, simply click on “Get Access Token” to create a temporary user access token.

 

How to Import Facebook Events to Modern event calendar

 

4. Then, you need to upgrade your token to a two-months user access token.

4.1. To do this, first go to the Access Token Tool where you will see both User Token and App Token for all the apps under your account.

 

Import Facebook Events to Modern event calendar

 

4.2. Now, to create a two-months access token, please click on the “debug” option at the right side of the box where user/app tokens are placed. Then you will be redirected to the Access Token Debugger where the information for your temporary user access token is stated.

 

Import Facebook Events to MEC plugin

Note: Temporary user access token is a one-hour valid access token for which you need to extend the expiry date. To do this be continue ….

5. The last step is to generate the permanent user access token.

5.1. Now, head over to Graph API Explorer, after generating the permanent user access token, and place it in the “Access Token Field”.

 

Importing Facebook Events to MEC

 

how to Import Facebook Events to MEC WordPress

 

Import Facebook Events to WordPress Modern event calendar

 

5.2. Now, in order to access “/me/accounts” you need to modify the API endpoint and click on the “Submit” button. The result is then shown with all the information from the pages including the page access token which is the permanent user access token.

 

Import Facebook Events to MEC plugin WordPress

 

6. Then you will be redirected to the verification stage, where you will make sure that the generated page access token is a permanent one , so go to: https://developers.facebook.com/tools/accesstoken again and click to “Debug” button to access a extended access token:

 

How to Import Facebook Events to MEC plugin

 

7- go to WordPress Dashboard > M. E. Calendar > Import/Export > Facebook Cal. Import / and fill the information – finally, click to Start:

How to Import Facebook Events to MEC plugin

Note: For more information read this documetation about syncing  MEC with google calendar 

Recommended Posts

20 Comments
Avatar for Doris Cooper
Mark January 20, 2020
| |

+1 for the sync to facebook events. i.e. I create events in my website and they automatically appear and keep up to date on my facebook page. - this would be a killer feature

Avatar for Doris Cooper
Gurkan January 17, 2020
| |

Starting from the 3rd step, the Facebook developer site images look nothing like the screenshots on this post. I am lost and it's not working. There needs to be an easier and more intuitive way to make this event sync.

Avatar for Doris Cooper
Daniela January 13, 2020
| |

I can not see where to put my FB access token? I have only one row to add FB page link bit not FB access token. Can you help me?

Avatar for Doris Cooper
Alyssa December 18, 2019
| |

Should it sync automatically or do I have to manually import everytime I update FB events?

Avatar for Doris Cooper
James December 13, 2019
| |

Is it possible to sync events from your website to Facebook so it shows the events on facebook and users can click through from there and book on the website?

Avatar for Doris Cooper
Owen December 5, 2019
| |

Hi, is it possible to import events from Facebook groups (my group)?

Avatar for Doris Cooper
Peter December 3, 2019
| |

If i add an event from another facebook page to mine (using the «add to page» option which is next to «share» button), is it possible that i import it to my site?

Avatar for Doris Cooper
Jason November 16, 2019
| |

Documentation needs to be updated, seems off and inconclusive, especially the part about generating a "permanent access token".

Avatar for Doris Cooper
fb October 17, 2019
| |

just your own facebook or other fb pages as well?    If I use other fb pages, it doesnt work??