Sample of Foursquare integration
Item logo image for Sample of Foursquare integration

Sample of Foursquare integration

Developer Tools33 users
Item media 1 screenshot

Overview

AppSquare This is a basic Foursquare client implemented as a packaged app. It just displays recent checkins of the logged in user's…

AppSquare This is a basic Foursquare client implemented as a packaged app. It just displays recent checkins of the logged in user's friends. To log into Foursquare, it uses the identity API (specfically, the launchWebAuthFlow method). Once it gets the OAuth token, it uses the storage API to persist it. It also uses the W3C Geolocation API to pass in the current location to the Foursquare API. When running it unpacked, it will normally have a different ID (the unpacked extension ID is a hash of the path on disk). However, this will result in the auth API not working, since the redirect URL will be different. To force the unpacked app to have the same ID, add this key and value to manifest.json: "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDnyZBBnfu+qNi1x5C0YKIob4ACrA84HdMArTGobttMHIxM2Z6aLshFmoKZa/pbyQS6D5yNywr4KM/llWiY2aV2puIflUxRT8SjjPehswCvm6eWQM+r3mB755m48x+diDl8URJsX4AJ3pQHnKWEvitZcuBh0GTfsLzKU/BfHEaH7QIDAQAB" (this is a base 64 encoded version of the app's public key) The key must be removed before uploading it to the store. See the source code at https://github.com/GoogleChrome/chrome-app-samples/tree/master/appsquare This version was built from git commit 0e30a6b https://github.com/GoogleChrome/chrome-app-samples/tree/0e30a6b/appsquare

0 out of 5No ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    7.1
  • Updated
    September 2, 2014
  • Offered by
    Chrome App Samples
  • Size
    209KiB
  • Languages
    English (United States)
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, visit the developer's support site

Google apps