Setting up a HTTP Module for the Reddit API

Hello everyone! :blush:

I have a problem and I can not really figure out how to solve it!
I am using the Reddit module to submit link posts to reddit. So far so good, and it’s working.
but the reply notifications are always turned off. I would have to manually enable them for each post again, and this is not doable. Reddit has an API call for that (sendreplies). But I haven’t figured out how to set it up.

I can make a connection with the reddit module to my own app, but since the reddit module itself does not let me sent extra API calls apart from submit, I really don’t even know why the extra scopes are listed here. Or am I missing something? Is there a way to use that connection later as well in a HTTP module to make an API call?
Here is the link to the instructions: Link

I have set up a Reddit app (as a web app), and have the Client ID and Secret.
I have followed Reddit’s API guidelines, but I cannot really figure out how to set up the connection.

If someone could point me in the right direction, that would be really appreciated. @LeftyLuke seems to have figured this out here, but following those instructions I get an error message.

If I want to set up an OAuth2 connection, I get to the redirect uri where I can give the app the permission for my reddit account, but then I get:

{"message":"The request failed due to failure of a previous request.","code":"SC424","suberrors":[{"message":"401","name":"Error"}]}

What is different now to those instructions is that I can directly provide my Client ID and Secret:

Thanks a lot, I will update with further screenshots of the errors and what I am entering in my workflow. :folded_hands:

@LeftyLuke, you’re saying here that the Make and Oath2 connection is still working for you! Would you mind sharing your setup?

I would be eternally grateful :folded_hands::smiling_face_with_three_hearts:

1 Like

Can I bumb this? :blush: Still unsure about how to set this up :eyes:

Hi Jocaramore, its still working indeed, but I have previously shared my exact method here.. Request failed due to failure of previous request: Connecting 2 reddit with HTTP “Make an OAuth 2.0 request”? - #5 by LeftyLuke

Im not sure how to help, did you run the set variable module to get the base64 string? That is what made it work for me, and that is the exact method im still using today.

Its important to set up your app here: Reddit - The heart of the internet and get the client id / secret from there, those are the 2 things I would check again if all is correct

ALso check the reply here: How to create a connection to Reddit Using the “Make an OAuth 2.0 request”? - #2 by LeftyLuke

it doesnt seem you are using the base64 encoded string? Request failed due to failure of previous request: Connecting 2 reddit with HTTP “Make an OAuth 2.0 request”? - #5 by LeftyLuke