Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create an event channel in your Kynetx (SquareTag) account labeled "Foursquare Checkins" using KDK (Kynetx Developer Kit)
  2. Use the channel ID to formulate an event signal URL (ESL) that uses the alternate encoding to raise a foursquare:checkin event. This will become the Foursquare Push URL that you give to Foursquare below.
  3. Create a foursquare ruleset and install it in your account using KDK:
    1. Write a rule called process_fs_checkin that listens for the foursquare:checkin event. 
    2. The rule should store the venue name, city, shout, and createdAt event attributes in entity variables. 
    3. Write a rule called display_checkin that shows the results in SquareTag.
    4. You will need to register the ruleset and install it in your SquareTag account. 
  4. Test the ruleset by using curl or your browser to call the ESL you created above. You will have to give it event attributes.
  5. Create an application at Foursquare, manually go through the OAuth sequence for it, and configure the Push URL to contain the ESL you created above. Remember that Foursquare require https
  6. Use the Foursquare test button to raise the event from Foursquare. You should see results on SquareTag. 
  7. Checkin with Foursquare on your phone. You should see the result in your SquareTag application. 

...