This app uses Foursquare to locate your users and then plot their locations on Google Maps.We are using foursquare to retrieve user's last checkin. Then we can retrieve the longitude and latitude. This app then plots these coordinates on google maps. In this app, I have customized the map by changing the marker image as well as many design aspects. When you click on the marker it shows the users, location, last check in and their twitter handle (as a name link). View Example Here
Step-by-step on how to deploy, configure and develop this app.
Create a Google Maps Developer Key from your Google Oauth Dashboard.
Create a Foursquare Developer Account (or login to your account). Create an App client key and client secret.
Setup MySQL Database
Create new MySQL Database
Use table.sql for setup
Reg.php (Allows users to register for the app. Assigns them an auth token. Users only need to do once). Add your foursquare credentials and database info.
Main.php Add your foursquare credentials and database info.
Main.php Add Google API Developer Key:
- Main.php Configure any style settings for the google map (lines 88-110).