Embed Facebook Events Reacjjs

System Information
  • Strapi Version: 3.2.5
  • Operating System: OSX

Hey Everyone !

I’m asked to display Facebook Events from my client’s page on his website (Strapi + reactsjs) but I don’t know how to do it. I’m not asking for an entire tutorial but for some leads :stuck_out_tongue:. There are a lot of widgets on Wordpress for that but could I do it on Strapi ?

Thank you so much :smiley: !

First, create your APP on facebook with permissions to desired data(Events) and retrieve your access token.
Then create a service in strapi that fetches data(Events) from FB’s API periodically and stores it in strapi (in a content type), then display the data(Events) on your (strapi+reactjs) website through the API of recently created content type.

Oh, just noticed that you mentioned “embed” in Title.

Add your facebook page url, in Tabs write: events, press generate code.
Thats all.

1 Like

Oh yeah ! I knew this plugin but I missed the “event” attribute. Thank you for your help :smiley: ! Cheers

1 Like

Will try this way too, maybe I’ll have more room to custom how the events are displayed. Thanks.

1 Like