vikramkhalsa / kirtan-programs-server

php and web backend for submiting programs to database and exposing them for the app
1 stars 0 forks source link

pull events from facebook #38

Closed vikramkhalsa closed 6 years ago

vikramkhalsa commented 6 years ago

Maybe have a lit of pages/groups/locations who's events automatically get pulled every so often. Issue is how to control which events to pull and which not to, how to find them and how to add to the list.

As a first step it might be better to just have user manually select event by giving fb link and the app can use API to parse and get info from the event.

vikramkhalsa commented 6 years ago

https://github.com/vikramkhalsa/kirtan-programs-server/commit/df427c1176cef994ca3b4dab7a1e2500c7d28569

Allows user to paste event link, uses FB API to pull all event info into appropriate fields. Location still has to be put in manually because we can't really correlate between fb location and location id.. maybe based on address?

vikramkhalsa commented 6 years ago

https://github.com/vikramkhalsa/kirtan-programs-server/commit/fc554b7fd9127f43490cb1a588311fa577e4ff54

Improved fb location matching using location name. Checks and tries to match the fb name with sikh.events location name.