Today I launched some updates to OwnYourSwarm, the service that sends your Swarm checkins to your own website. It does this by watching your Swarm account and sending checkins to your site via Micropub.
Swarm has had a feature for a long time where you can allow your friends to check you in. It's more than just tagging a friend in a checkin, since it actually creates a full-fledged checkin on the other person's account. It's an interesting feature of Swarm, and not something I've seen elsewhere.
I normally don't like to launch a feature that's this rough around the edges, but I decided to anyway. I added a section to the OwnYourSwarm dashboard that will let you import a specific checkin by its Foursquare checkin ID.
I think this is the first time in the 100days project that I've worked on a project that is not my own! Today I added support for JSON requests to Known's Micropub endpoint. I also added support for JSON checkins that OwnYourSwarm sends.
An interesting feature of the Swarm app is how it handles photos uploaded to checkins. If you check in and attach a photo, the checkin is actually created before the photo is uploaded. If you're on a spotty Internet connection, you'll see this because your checkin will exist and you'll get points for it, but there won't be a photo yet. The app will then continue to upload the photo separately, retrying if it fails. This is actually a really great app design on the part of Foursquare, but does lead to some tricks with the API.
Today I added support for person-tags and mentioning users to OwnYourSwarm. If you tag someone in your Swarm checkin (e.g. tap the + icon and find them in the list), then it will be converted to a person-tag in the h-entry. In addition, any usernames you mention in the text of your checkin will cause the content to be sent to your Micropub endpoint as HTML, including hyperlinks for the names of people mentioned.
Now that I can post checkins on my website, the next step is to automatically copy my checkins from Swarm! I still like the experience of Swarm, and I still get value out of their analysis of my checkins, so I don't see myself leaving Swarm anytime soon. This way, I get the best of both worlds.