danvratil / FBEventSync

Sync Facebook Events into your Android calendar
GNU General Public License v3.0
35 stars 7 forks source link

Birthday sync broken #67

Closed maltejoos closed 5 years ago

maltejoos commented 5 years ago

Synchronizing birthday events does not work. (I do not have any other events on facebook, so i cannot judge if event sync works). Using version 0.36 on Android 7.1.1.

Please let me know if i can help finding the issue.

Thanks.

Just sent you the logfile via email.

danvratil commented 5 years ago

Unfortunately Facebook stopped providing the birthday information that the app was reading - it seems to only be available in the web interface now, which apps cannot access.

I'll try to find some other way for the app to read the birthday info, but more likely I'll just have to remove the birthday calendar from the app altogether. 

maltejoos commented 5 years ago

Seems like Facebook did an overall update here. Also the access via webcal url does not work anymore. I tried to contact the support without any response.

So i guess one should parse it directly from the web interface using some web automation library. I wrote such a desktop tool 8 years ago using perl and www::mechanize. However no clue what are the best options nowadays on Android.

danvratil commented 5 years ago

For me te events webcal feed still works, but I'm getting more reports about events disappearing too - apparently they are rolling this "update" out incrementally.

Scraping the web interface is non-trivial, the HTML keeps changing on updates - the mbasic version might be the way to go, though. Although I'm not entirely sure Facebook Terms and Conditions allow that :-)

danvratil commented 5 years ago

Got the mbasic scraper working, an update is rolling out now.

MartinRenze commented 5 years ago

@danvratil good work, I like this app

I'm on Version 0.39 (v43) and still don't see the birthday events.

Log looks good, though.

2019-07-20 12:44:35.873 I/SYNC: Scheduled periodic sync using requestSync, interval: 7200 2019-07-20 12:44:36.731 I/SYNC: Explicitly requested sync for account Martin Renze 2019-07-20 12:44:36.928 I/SYNC.PERM: All permissions granted 2019-07-20 12:44:36.934 I/SYNC: performSync request for account Martin Renze, authority com.android.calendar 2019-07-20 12:44:36.935 I/SYNC.PERM: All permissions granted 2019-07-20 12:44:36.952 D/SYNC: Lasy sync hour: 0, now sync hour: 0 2019-07-20 12:44:36.955 D/SYNC: Access token received 2019-07-20 12:44:36.964 D/FBCalendar: Calendar Veranstaltungen, zu denen ich zugesagt habe is enabled? true 2019-07-20 12:44:37.001 D/FBCalendar: Calendar Veranstaltungen, an denen ich vielleicht teilnehme is enabled? true 2019-07-20 12:44:37.046 D/FBCalendar: Calendar Veranstaltungen, an denen ich nicht teilnehme is enabled? true 2019-07-20 12:44:37.087 D/FBCalendar: Calendar Veranstaltungen, auf die ich nicht reagiert habe is enabled? true 2019-07-20 12:44:37.133 D/FBCalendar: Calendar Geburtstage von Freunden is enabled? true 2019-07-20 12:44:37.195 D/SYNC: Syncing event iCal from https://www.facebook.com/events/ical/upcoming/?uid=hidden&key=hidden&locale=de_DE 2019-07-20 12:44:38.003 D/SYNC: iCal sync done 2019-07-20 12:44:38.088 I/FBCalendar: Sync stats for Veranstaltungen, auf die ich nicht reagiert habe 2019-07-20 12:44:38.089 I/FBCalendar: Events added: 0 2019-07-20 12:44:38.089 I/FBCalendar: Events modified: 2 2019-07-20 12:44:38.089 I/FBCalendar: Events removed: 0 2019-07-20 12:44:38.172 I/FBCalendar: Sync stats for Veranstaltungen, zu denen ich zugesagt habe 2019-07-20 12:44:38.173 I/FBCalendar: Events added: 0 2019-07-20 12:44:38.174 I/FBCalendar: Events modified: 2 2019-07-20 12:44:38.174 I/FBCalendar: Events removed: 0 2019-07-20 12:44:38.175 I/FBCalendar: Sync stats for Veranstaltungen, an denen ich nicht teilnehme 2019-07-20 12:44:38.175 I/FBCalendar: Events added: 0 2019-07-20 12:44:38.175 I/FBCalendar: Events modified: 0 2019-07-20 12:44:38.175 I/FBCalendar: Events removed: 0 2019-07-20 12:44:38.902 I/FBCalendar: Sync stats for Veranstaltungen, an denen ich vielleicht teilnehme 2019-07-20 12:44:38.902 I/FBCalendar: Events added: 0 2019-07-20 12:44:38.902 I/FBCalendar: Events modified: 21 2019-07-20 12:44:38.902 I/FBCalendar: Events removed: 0 2019-07-20 12:44:38.915 D/SYNC: Syncing birthday iCal from https://www.facebook.com/events/ical/birthdays/?uid=hidden&key=hidden&locale=de_DE 2019-07-20 12:44:39.138 D/SYNC: iCal sync done 2019-07-20 12:44:39.139 I/FBCalendar: Sync stats for Geburtstage von Freunden 2019-07-20 12:44:39.139 I/FBCalendar: Events added: 0 2019-07-20 12:44:39.139 I/FBCalendar: Events modified: 0 2019-07-20 12:44:39.139 I/FBCalendar: Events removed: 0 2019-07-20 12:44:39.140 I/SYNC: Sync for Martin Renze done