Probably should delete this post, OwnYourGram is now practically defunct: "We’re experiencing trouble with Instagram blocking requests from this website. New accounts are disabled, and you will experience long delays importing photos on existing accounts. "
Have you tried https://carlrustung.no/blog/insta-zapier-howto/?
This post is old
This post is more than a year old, and I’m not using Zapier anymore myself. Things might have changed since I wrote this!
So no I haven’t braved it.
Even if it works now, I have so little faith in IG keeping anything open web stable, I just don’t post anything solely on IG (except when I SpitFire_Bars for funsies)
looks like a promising one-off transfer solution on the way though.
Might do yearly archiving of mine, as I usually delete IG posts after 2 years up there.
Understand about IG. The technique still works and I adapted it for Untappd. I use IG regularly. The local nano craft brewery uses IG to announce their new releases. If I’m not on IG, I’ll miss the release announcement and the beer.
do you have examples of it working to Micro.blog?
I’ve reached my 5 zap free limit and only wanna shove out another if it’s proper good & reliable.
Sure: Khürt Williams - Beer
I see. But these are drawn from Untappd as source right?
Any evidence that IG source functions properly?
I was blocked on IG briefly for using a PhantomBuster follower that did anything more than 1 every 4 hours.
Sorry. I misunderstood that ask. IG example is here: Khürt Williams -
Works on Brave, but is blocked on my Facebook-blocking Firefox, implying there is some sense in which its retained Facebook’s touch, rather than indepedently owned image data:
Interesting. It’s not your browser. Instagram (aka Facebook) is blocking the image from loading on micro.blog.
I’ll have to find a way to upload the image instead of linking.
Would be a better more sustainable solution anway. Could you automate uploading it to M.b?
I’m still looking into this.
Amazing dude: lmk!
Their new html exports are actually surprisingly decent, and certainly heaps better than TikTok’s JSON ones. I’m experimenting next week with publishing non-private parts using GitHub Pages as an alternative approach.
I’m sure I don’t understand what this means below.
I need some help with the media upload part. I’m not sure I understand the parameters that get sent to the media upload endpoint.
In Zapier I sent a GET request and received a response with a number of parameters.
The question is what should be in the POST request to upload a file.
I have a Zapier account, but unfortunately don’t have access to the premium features, like Webhooks. So I can’t verify this myself, but I think you should do the following:
access_tokenfrom the Data.
- Below Headers, add
Authorizationwith the value
123... above with your unique access token. That should do it, at least for authorization.
I’m unsure about the
file part below Data. That part belongs there, but its value should be an actual image (image data). From your screenshot, it looks like it’s just an URL to an image (not the image itself).
Maybe Zapier is smart enough to handle that for you. You’ll have to test the zap and see what happens.
Thank you. I don’t think authorisation is an issue. It’s something else’s. I can query the micro.blog endpoint. I just don’t know what to send to upload a photo micro.blog.
There are two issues with the current zap: the authorization token is sent as multipart form data, and no image is provided (just an URL to an image). I’ve confirmed this with my Zapier account just now.
You have to follow my instructions above and add an additional action (Webhook GET request) to download the image before posting it to Micro.blog. Following below is a screenshot of a working zap.
Three things to take note of:
- The second action in the zap downloads the actual photo from Instagram.
- The downloaded file is then used in the third action (below the heading File).
- Authorization is done below the heading Headers.
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
- upload the Instagram image to micro.blog
- 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-dataupload with a
filepart 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.
See final result here: