Skip to content
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 integration #4

Open
nolybom opened this issue Sep 30, 2017 · 2 comments
Open

facebook integration #4

nolybom opened this issue Sep 30, 2017 · 2 comments
Labels

Comments

@nolybom
Copy link

nolybom commented Sep 30, 2017

This script looks by far most promising than any comparabel i found here on github. And your todo-List is even nicer.
Too bad you this isn't maintained anymore. -_-

Could you please give us a hint on how to add location to the .ics ? And maybe how to integrate facebook?

This might help: https://github.com/chrisnoisel/FB-events-to-iCalendar

@Frimkron
Copy link
Owner

Frimkron commented Oct 2, 2017

Hi @nolybom, thanks for the interest.

Adding a location field should be a relatively simple change, although I don't have much time to implement this myself. You'd need to update the input parser(s) and the iCalendar output formatter (location is just a simple text field if I remember the RFC correctly).

I did look into Facebook integration, and obviously this is a sought-after feature as so many events are organised via Facebook's system these days. From what I remember there was no option to access event data without a user login, even for public pages and groups, so there were security considerations that I hadn't quite figured out yet. I guess it would involve getting the site admin to put their access token in the config file.

Actually one of the reasons I've not updated this project in a while is because I didn't have a use case for it myself, and nor did anyone I knew! Turns out it's hard to convince people that calendar feeds are a good idea ;) So I'd be interested to know what context you're looking to use this script in. Is it a static website, or php application (what framework, if any?), or CMS instance e.g. Wordpress, or a web application in some other language (Rails? Node?). Is there some kind of package or plugin manager that your platform uses? I'm a little out of the loop when it comes to PHP but I'm thinking this might be more useful as a Wordpress or Symphony plugin or something.

@nolybom
Copy link
Author

nolybom commented Oct 3, 2017

What you need is just the facebook ID of a public facebook page and a access_token. The json-feed has all information which are needed to create the .ics file.
Since the location info is also available it could be easily integrated.
I am currently looking for a plain PHP solution and trying to combine your and the above script with limited programming knowHow. My goal is to offer an event calendar on a website the user could add to his own calendar.

@nolybom nolybom changed the title not maintained? facebook integration Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants