Foursquare Locator
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

#Foursquare Locator

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


Example of it working


Step-by-step on how to deploy, configure and develop this app.

Create Credentials

  1. Create a Google Maps Developer Key from your Google Oauth Dashboard.

  2. Create a Foursquare Developer Account (or login to your account). Create an App client key and client secret.

Setup MySQL Database

  1. Create new MySQL Database

  2. Use table.sql for setup


  1. 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.

  2. Main.php Add your foursquare credentials and database info.

  3. Main.php Add Google API Developer Key:

<script type="text/javascript" src=" KEY HERExxxxx&sensor=false">
  1. Main.php Configure any style settings for the google map (lines 88-110).