Skip to main content

Jeremy Cherfas

One step closer to PESOS from Instagram

1 min read

I had been barking up the wrong tree, trying to address `photo/edit` in order to create a photo post in WithKnown. Going through my old notes, I figured out how to do it through `micropub/endpoint` instead, which makes a whole lot more sense. Probably I should have started there.

Anyway, I know have the bare bones of being able to post automatically to WithKnown from the RSS feed of my Instagram account. Now I "just" need to build out all the rest; read the RSS feed, extract the relevant bits of data, construct the API request and bung it off.

Which will probably take forever, but hey.

Jeremy Cherfas

PESOS from Instagram?

1 min read

At last night's online HWC we talked a bit about getting pictures in and out of Instagram, now that they have become so much stricter about the API. Getting images into Instagram except through approved apps seems to be getting harder and harder, and is probably impossible by now. Getting images out of Instagram is also not obviously easy. But ...

A new (to me) thing, called Bibliogram, can, under the right conditions, create an RSS or Atom feed from one's profile. I poked around, and the feed contains a link to the image, caption and  date and time. The link to the image works. So maybe ...

I could send the feed to IFTTT or Zapier or similar, and have that create a post via Micropub to my instance of WithKnown. Or even, if I ever get it working, to my main site, which uses Grav.

But I can't even try for a couple of days.

Jeremy Cherfas

Crossed the wide Pecos ...

1 min read

Playing Lyle Lovett singing Texas River Song, even though I know it's a stretch, to celebrate having eaten a giant bowl of my own dogfood.

A couple of weeks ago I followed Chris Aldrich to reading.am, which is a neat little spot for just putting down a marker for something that you're reading. I wanted more. I wanted to be able to save links to the things I marked. And now, a little over two weeks later, I've done it.

I have a PHP file that fetches the RSS feeds of things I've marked in reading.am, looks for any that are new since the last time the program ran, and then POSTS the results to Known's micropub endpoint. PESOS for my bookmarks!

There is no way I could have done it without amazing help from people on the IndieWeb IRC, and it isn't perfect by any means. There's more work to be done, for sure, before I even think about sharing the code.

But hey, it works.

And, as my main helper said, "Launch early and iterate often".

I'll be doing that.