Rebuilding FourSquare for ActivityPub using OpenStreetMap


Map of London with several bits highlighted.

I used to like the original FourSquare. The "mayor" stuff was a bit silly, and my friends never left that many reviews, but I loved being able to signal to my friends "I am at this cool museum" or "We're at this pub if you want to meet" or "Spending the day at the park". So, is there a way to recreate that early Web 2.0 experience with open data and ActivityPub? Let's find out! This quest is divided into two parts. Get nearby "Points of Interest" (POI) from OpenStreetMap. Share a location…

Continue reading →

Getting Images from a Foursquare Checkin


Photo of a MacBook. The decal sticker is of Iron Man. His hand blaster is replaced with the Apple logo.

"Oi!" shouted Whatleydude, "Get Dabr to show images from foursquare checkins!" "Righty-ho sir!" I said. I started coding furiously. Of course, things are never quite as simple as I first thought.... So, how do we go from http://4sq.com/fgIWov to 1 Expand the URL Get your Bit.ly API Key. http://api.bitly.com/v3/expand ?shortUrl=http://4sq.com/fgIWov &login=YOUR_BIT_LY_USERNAME &apiKey=YOUR_BIT_LY_API_KEY &format=txt You can, if you prefer, get the info back in JSON or XML.…

Continue reading →