/facebook_birthday_export

A script to get the birthdays from Facebook and create a CSV which can be easily imported in Google calendar

Primary LanguagePython

Facebook Birthday Export

Facebook has recently removed the feature to download the birthday calendar.

This script will allow you to get all the birthdays in a CSV format (with some manual efforts) which you can the easily import to Google Calendar.

You can also visit https://deepakmahakale.com/facebook_birthday_export

Update: Chrome extension is now available

Social Birthdays Export

Steps

  1. Login to Facebook

  2. Visit Facebook's events page

  3. Scroll to the bottom of the page till you have birthdays from all the months

  4. Right click on Today's Birthday or Upcoming Birthdays

  5. Select Inspect from the dropdown

  6. In html inspector right click on div with id="birthdays_content" and select "copy" > "Copy element" facebook_inspect

  7. Paste the content in facebook_html.txt and run the following command

    python birthday_parser.py
  8. Import the birthdays.csv generated by the program to Google Calendar

References:

CSV Format for Google Calendar