-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook BirthdayCometRootQuery offset_month logic is wrong. (No results for December) #97
Comments
That is interesting, I just ran the script and can confirm what you see here (no December results). Funnily enough the official Facebook page here also has the month of December missing: So look like a new off by 1 bug Facebook introduced. |
Strange indeed, let we know if you get an answer! |
The results for december is back. But the problem now is for the current month. When I get all birthdays from december, all results from june is gone last month. Today, all results from june is back for 2022 but it erases all birthdays from july. Now this bug makes this script useless :/ |
Not quite sure what Facebook is doing as it seems the offset logic is still quite broken but we can implement a workaround for now. Previously we had the following code: Which would give you the next 3 months of Birthdays starting from the current month. With 4 requests we got all the birthdays for the following year. After the recent Facebook changes the query had odd logic for the As of July 2021:
Notice how the offset_months for So as a workaround we're going to do this and get some overlapping datasets at the expense of 1 extra request but we don't store duplicates in our set so the final result is correct.
Anyway, this has been fixed with a workaround in #103 |
This is probably not an issue with the code but when I extract the events, I don't get any results for the month december. In the ics file, there are no entries with
DTSTART;VALUE=DATE:202112...
or
DTSTART;VALUE=DATE:202212...
I extracted them last week (april)
What could be causing this?
The text was updated successfully, but these errors were encountered: