own your che­ckin

felix schwenzel in notiert

i rew­ro­te aa­ron pare­cki’s own­y­our­gram a litt­le bit, so that can push your fours­qua­re (or swarm) check­ins via mi­cro­pub to your site: i cal­led it own­y­ourche­ckin (of cour­se).

i have it run­ning on own­y­ourche­ckin.wir­res.net, but i ha­ven’t tes­ted it very much yet. it seems to work, though and also fet­ches images that are pos­ted with the che­ckin, here’s my la­test che­ckin.

own­y­ourche­ckin is no­ti­fied via the fours­qua­re real-time-API, so it can pu­blish check­ins in­stanta­neous­ly. i no­ti­ced, ho­we­ver, that the images seem to need some pro­ces­sing time at fours­qua­re, so i let own­y­ourche­cking sleep 30 se­conds, be­fo­re it queries the API for images. other­wi­se fours­qua­re re­gu­lar­ly re­turns emp­ty image ar­rays. with the short de­lay, images are (most­ly) re­tur­ned by the API.

i’m pret­ty sure that i in­tro­du­ced a lot of bugs into the code and the­re are some more fea­tures that i’d like to im­ple­ment, that are still not done: fours­qua­re ve­nue ca­te­go­ries do not get fet­ched yet and per­son tags from peo­p­le you tag in your check-in could also be fet­ched. and what about tho­se sti­ckers?


just found out, fours­qua­re pu­shes the che­ckin to the real-time API, even if the image upload is still go­ing on or fails. so the­re’s al­ways a chan­ce of not cat­ching tho­se images.