项目作者: deepakmahakale

项目描述 :
A script to get the birthdays from Facebook and create a CSV which can be easily imported in Google calendar
高级语言: Python
项目地址: git://github.com/deepakmahakale/facebook_birthday_export.git
创建时间: 2019-08-26T15:22:54Z
项目社区:https://github.com/deepakmahakale/facebook_birthday_export

开源协议:

下载


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

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

References:

CSV Format for Google Calendar