Copying photos to Micro.blog from Instagram

Alread had that. Here is my existing Zap. It works perfectly to create a post on micro.blog with inline links to the Instagram image.

What I want to do instead, is

  1. upload the Instagram image to micro.blog
  2. then create a micro.blog post that includes the micro.blog version of the image.

So per @manton 's procedures I added at GET request to first query micro.blog’s micropub to get the media endpoint.

Now this is the part that I didn’t qutie understand.

The media endpoint accepts a multipart/form-data upload with a file part containing the JPEG image data.

I created a new Webhook POST to the media end point.

The last part was modifying my original POST webhook to insert the HTML for IMG tag.

It works.

See final result here:

https://khurt.blog/2022/01/08/december-hoppy-anniversary.html

1 Like