A set of scripts to fetch your foursquare.com checkin-history, storing them to mysql and offering an endpoint for fetching an ical-subscription
- Setup the mysql-database with the /4sq2ics_checkins.sql template-file
- Install the composer dependencies
- Rename /etc/config.php.sample to /etc/config.php and add values for all constants (see notes)
- Setup a cron for /cron/fetch.php (e.g. once per hour)
- Point your calendar.app to /ics
- designed for apache + php 7.2
- to get foursquare client-id and client-secret, create an app in foursquare's developer-portal: https://de.foursquare.com/developers/apps
- to get your foursquare user-id check your foursquare-account settings page
- to get an foursquare accesstoken, check: https://github.com/hownowstephen/php-foursquare/blob/master/examples/tokenrequest.php
no error-handling or other security-features at the moment, this project is provided as is with no warranty