Friendzone allows you to see your Foursquare friends' location and local time based on their time zone. Demo
- Ruby on Rails
- PostgreSQL
- Foursquare Places API
- Google Geocoding API
- Google Time Zone API
The app uses the Google Geocoding API to obtain a user's coordinates and the Time Zone API to get their Time Zone ID (defined by Unicode Common Locale Data Repository (CLDR) project). Finally, the TZInfo gem is used to determine the current local time with the Time Zone ID.
Users authenticate with their Foursquare accounts. Once authorized, the app imports the user's and their friends' data from Foursquare in order to display their home cities and local time.
Friends in various time zones, shows name and location when hovered:
Currently, the app uses a static attribute (home city) from Foursquare's user data, instead of dynamic location data (check ins), which requires each individual user's authorization. Dynamic location display is currently being implemented, along with a mobile app using React Native.