Zapping Instagram pics to Micro.blog

I like having my Instagram pics automatically posted to Micro.blog, but OwnYourGram stopped working, so I set up Zapier to do it for me instead. Here’s how.

I recently did a little site update. The biggest change was connecting it to my Micro.blog and syndicating the posts here. Micro.blog, in turn, picked up my Instagram posts, routing them over here as well. This was done using a cool, little service called OwnYourGram.

Though a brilliant (and free!) initiative, it didn’t work very well. It was hard to keep track of just when it would reroute my pics, and the other day it stopped working completely. The error message was kinda vague, so I have no idea who’s to blame – might be OwnYourGram, might be micro.blog... might be me.

Anyway, I’d recently set up Zapier to tell Netlify to update my site whenever I’d posted something new to micro.blog, so I thought I’d check if it could also do my Instagram sharing for me. Turns out it could!

Here’s how:

  1. Set up a new access token for Zapier in your micro.blog account settings.
  2. Make a new Zap. Choose Instagram for your “Trigger App” and trigger the Zap on “New Media Posted in My Account”. (The only choice, really.)
  3. Connect your Instagram account.
  4. Select a sample post. Don’t think it matters much, I guess the point is to use a sample that contains everything you want to re-route. If you want Zapier to publish both your picture and your caption, use a sample that contains both.
  5. Add “Webhooks” for your Action step, and select the POST request.
  6. Use https://micro.blog/micropub as the URL, and Form as the Payload Type.
  7. Under Data, you’re going to need 4 key-value pairs:
    • h | entry (literally)
    • access_token | [your access token] from step 1.
    • photo | Images Standard Resolution URL from the Instagram app (use the little button at the right side of the value input)
    • content | Caption Text from the Instagram app
      zapier-insta
  8. Leave the rest of the inputs alone, and click Continue.
  9. Click the “Send Test...”-button, and your sample Instagram post should appear on your micro.blog timeline.

Easy peasy!