Facebook automatic Birthday wish

847 Views Asked by At

i want to write a script which send automatically an friend birthday wishes. My base idea was to write a php script which called every day by a cronjob. All solution which i found was deprecated by facebook.

Actually my idea is to export my facebook calender and let a script run over the "export-list" that import the birthdays into a database. Then I have to call every day the javascript that popup a send-dialog if someone have birthday. But that is not comfortable.

Did somebody know a better solution?

1

There are 1 best solutions below

0
On

You cannot get the friends' birthdays anymore, because all the friends_* permissions have been removed with v2.0 of the Graph API. Only if they are also users of the same app and give the app the permissions.