I'm trying to take popular/top reddit posts and tweet them out on a twitter similar to https://twitter.com/OsuGameTweet but with images instead of text.
My subreddit is /r/OneTrueMiia, and my twitter account is @OneTrueMiia and I'm trying to take popular posts to twitter to make it easier for users.
Best answer by AndrewJDavison_Luhhu
So, I looked into this a bit more for you - it's possible.
In your trigger data from Reddit, this is what you're looking for:
However, if you follow that link, you'll get this:
However, if you change the URL a bit, by removing everything after and including the ? and changing "https://preview." to "https://i."... you get the image you want:
How to do this in Zapier? With "Formatter" steps:
- That image URL is in something called a 'line item', you need to make it text:
- Then you need to split that resulting 'text' before the '?':
- Then finally you just need to replace "https://preview." with "https://i."
- Now you have your image URL to post on Twitter:
I hope that helps!
I created a template zap you can use. Just click this link when in your Zapier account and the zap will be installed in your account: