Bot that will "repost" reddit content to kbin/fediverse?

yungsinatra@kbin.social to Reddit Migration@kbin.social – 16 points –

I've been thinking about this today..

If there's a divide among people who want to still use Reddit and others who want to try out the Fediverse (Kbin, Lemmy, etc), I believe it may be a good idea if we had a bot that could mimic at least the posts (and maybe later even the comments) on subreddits that people are missing out here in the Fediverse. This can at least help populate the emptier communities that are here on the Fediverse and incentivize people to remain here without the fear of FOMO (myself included).

Is there any existing solution that could provide the necessary functionality? How feasible would this be if someone would start working on this now, considering the Reddit API changes?

20

You are viewing a single comment

You can simply add .json to the end of any sub or account to get the data, so it shouldn’t be too hard to set something up, assuming there is a POST API in kbin. Example: https://www.reddit.com/r/voidlinux.json

Yep, saw another user mention this as well. I never knew this was possible, makes things so much easier haha.

I haven't checked Kbin's API documentation, but I assume (and hope) there is a post API endpoint.

edit: Just checked and it seems like you're only able to do GET requests at the moment (link to docs). Will be waiting for updates from @ernest in this case.

Keep in mind that Reddit has rate limits, and they may throttle your requests if you make many. There's some (probably out of date) documentation here.

This is good to know, will it still work with the API changes?