simonbengtsson / eventcal

Filter to only include attending and maybe facebook events in ical and google calendar
http://eventcal.flown.io
MIT License
211 stars 8 forks source link

Event link errors out with login page #40

Closed dapetcu21 closed 3 years ago

dapetcu21 commented 3 years ago

Possibly Facebook now needs its session cookie when downloading the .ical?

Screen Shot 2021-05-02 at 21 14 23
simonbengtsson commented 3 years ago

Interesting.

  1. What did you do to get this page? I tried now and still works without session cookie for me when following the guide on the website.
  2. What web browser and operative system?
dapetcu21 commented 3 years ago

I just noticed that my calendar subscriptions in Apple Calendar wouldn't work anymore:

Screen Shot 2021-05-02 at 22 25 57

So I tried going to the iCal link manually (https://eventcal.flown.io/?base64=true&calendar=MYCALENDARKEY&status=ACCEPTED) in Safari on macOS and got the above page (which is obviously not a valid .ical file). cURL-ing the link results in the same page.

simonbengtsson commented 3 years ago

Could you try getting a new url from the facebook event page and see if that works?

dapetcu21 commented 3 years ago

I did. It didn't make a difference.

arxeiss commented 3 years ago

Is it possible that getting the link to ical export is not possible in my country? Can you share the screen where you can get the export link?

dapetcu21 commented 3 years ago

https://www.facebook.com/events/calendar

You have a blue button in the top-right:

Screen Shot 2021-05-13 at 12 50 27
arxeiss commented 3 years ago

You are right... Not sure what was wrong, because visiting the link redirected me to different page. But I was able to find it.

P.S. I'm able to download it without login. In incognito mode I was able to download it as well

dapetcu21 commented 3 years ago

Hmm... You're right. I can download it in incognito without login as well, but it still won't work in eventcal.

simonbengtsson commented 3 years ago

Is this still an issue?

hmijail commented 3 years ago

When I press that FB "Add to Calendar" button it shows me a page saying "Sorry, this content isn't available right now". The URL itself does the same. With curl I get a 208KB HTML page, no iCal. So I guess it is still an issue.

simonbengtsson commented 3 years ago

Clicking that button should download an ics file. Tried it now and this is the behavior for me both in normal and incognito mode. Note that it seems it only works in desktop browsers.

If there is no publicly accessible ics file is not much Eventcal can do. It is most likely some kind of region specific limitation on Facebook. I'll close this issue for now but if there is any ideas towards what can be done to solve this within Eventcal feel free to comment.