Foursquare API video

Now playing: How to use the Foursquare API with PHP

Foursquare API tutorial from Robyn Overstreet on Vimeo.

The corresponding code example is in github at
https://github.com/robynitp/commlabweb/blob/master/week5/foursquare_api.php

Correction: at around 12:13 in the video, price I’m looking at the JSON Editor Online¬†and comparing it to my PHP array. I meant to show the exact same JSON text in both, anaemia but I accidentally showed a slightly different version in the online editor — one has a “groups” element and the the other has “venues”. Don’t let that confuse you. The PHP code, with “venues” is right –disregard the one in the JSON editor. If you’re curious to see the correct JSON output, I posted it on gist here.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>