I’m trying to get the Top (or Best) posts from a Subreddit and create content on Instagram from them.
Is there a way to do this?
The URL would be: https://www.reddit.com/r/*subredditname*/top
Thank you
I’m trying to get the Top (or Best) posts from a Subreddit and create content on Instagram from them.
Is there a way to do this?
The URL would be: https://www.reddit.com/r/*subredditname*/top
Thank you
Hi @Pha_Prod
Welcome to the n8n community
I’m answering the Reddit part since I’m not sure about the Instagram Part.
If you add .json
at the end of the Subreddit URL, you’ll get a nice JSON with the all details in it.
Here are the examples.
General:
https://www.reddit.com/r/awww.json
Top:
https://www.reddit.com/r/awww/top.json
Best:
https://www.reddit.com/r/awww/best.json
You can also limit the number of response
https://www.reddit.com/r/awww/top.json?limit=100
Also, for the Instagram part. Afaik. You need Access Token. With that, you have to get the Refresh Token, Create a post container, and push the actual image URL.
Feel free to refer to this documentation. You’ll be using HTTP Nodes inside n8n.
Thank you so much, that worked!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.