addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Techspace door - automated checkin to foursquare

From: David B
Sent on: Thursday, June 21, 2012 4:39 PM
Hello techspace members,

We would like to implement an (optional) automated foursquare check-in for members when they arrive at the techspace.  
Those members who choose to link their "door code" to their foursquare account can make use of this feature. 

There is already a "checkin" button in the door web app and the door android app, but these buttons don't do anything.

If anyone would like to link the "checkin" feature up to foursquare please feel free. The door code is here:
you are more than welcome to click the "fork" button and modify the code as much as you like. 
If you're new to PHP or Git this is a great way to start (in the deep end!) and we'll be more than happy to help if you get stuck.

The idea is (but feel free to change):
 - if door is closed, and member opens door (with pin or rfid), and member has foursquare account linked, check them into foursquare
 - if door is closed, and member checks in, and member has foursquare account linked, check them into foursquare
 - if door is open, and member closes door, do nothing
 - if door is open, and member checks in, and member has foursquare account linked, check them into foursquare
 - if door is open, and member swipes RFID key once, and member has foursquare account linked, check them into foursquare
 - if door is open, and same member swipes RFID key a second time (after the 8 second timeout), close the door

Cheers,
Dave

Our Sponsors

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy