nsanch/foursquare-push-api-sample — pull request #1 by jasonlcrane (2012-01-07 05:54:32+00:00)
Title: Fixes ReceiveCheckin so it can receive pushed checkins

This change lets the app receive the pushed checkins from Foursquare.

Disclaimer: I'm new to 1) the Foursquare API 2) Python and 3) Google App Engine, but these changes are allowing the pushes through. Feedback obviously welcome.

This sample app was created well before the Realtime API was officially released, so I was wondering if there was any interest in updating it to reflect the updated API.

I'm not certain if this is related to any API changes or a separate issue (which I'd be happy to open here or bring up on the Foursquare support forum), but I'm unable to get the app to work at http://jlc4sq.appspot.com/. Setting the Foursquare callback url to /oauth is resulting in a 404 error after authenticating. Setting the callback to the main app page appears to authorize the app correctly, but no checkins are fetched. It appears that no UserToken is being added to the db.

In any case, this was a great teaching tool for me, even if it didn't work quite right. Thanks for creating it.