30 November 2010

The following sample Facebook desktop application exports your friends birthdays in a vCard file format. This file is suitable to be imported into your GMail contacts for example.

via Facebook API : Exporting your friends birthdays into vCards format - Tech@Sakana – A sysadmin’s blog.

I made some modifications to get a the old login token and hard code it in there.  Then I ran fb-bdays.pl > fb-bdays.vcs and imported it into my Google contacts. Easy peasy, and not as ephemeral as syncing a calendar.

(I ran it on OSX Snow Leopard with cpan to install WWW::Facebook::API, Text::vCard::Addressbook, and Date::Parse)



blog comments powered by Disqus