Skip to content

enzsmn/facebook-calendar

Repository files navigation

Facebook calendar

Inspired by simonbengtsson/eventcal.

Setup

Copy .env.example to .env.

Go to Facebook → Events → See All, right-click the "Add to Calendar" button and copy the target (e.g. https://www.facebook.com/events/ical/upcoming/?uid=123&key=abc).

Put this link and a random password in the .env.

Develop

Test locally with Vercel CLI by running vercel dev and adding the password to the querystring:

http://localhost:3000/all?password=<PASSWORD>
http://localhost:3000/going?password=<PASSWORD>
http://localhost:3000/maybe?password=<PASSWORD>

Deploy

Fill in your Vercel project's environment variables with the entries from .env.

Add your Vercel project's URL to your calendar application with the password and the optional status parameter:

About

A middleware to filter your Facebook event feed on event statuses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published