Reddit

Reddit is a network of communities based on people's interests. Find communities you're interested in, and become part of an online community!

Integrate the Reddit API with the Schedule API

Setup the Reddit API trigger to run a workflow which integrates with the Schedule API. Pipedream's integration platform allows you to integrate Reddit and Schedule remarkably fast. Free for developers.

List Comments in a Post with Reddit API on Daily schedule from Schedule API
Schedule + Reddit
 
Try it
List Comments in a Post with Reddit API on Monthly schedule from Schedule API
Schedule + Reddit
 
Try it
List Comments in a Post with Reddit API on Schedule based on a custom interval from Schedule API
Schedule + Reddit
 
Try it
List Comments in a Post with Reddit API on Weekly schedule from Schedule API
Schedule + Reddit
 
Try it
List Subreddits by Query with Reddit API on Daily schedule from Schedule API
Schedule + Reddit
 
Try it
Custom Interval from the Schedule API

Trigger your workflow every N hours, minutes or seconds.

 
Try it
Daily schedule from the Schedule API

Trigger your workflow every day.

 
Try it
New Comments by User from the Reddit API

Emit new event each time a user posts a new comment.

 
Try it
Monthly Schedule from the Schedule API

Trigger your workflow on one or more days each month at a specific time (with timezone support).

 
Try it
New comments on a post from the Reddit API

Emit new event each time a new comment is added to a subreddit.

 
Try it
List Comments in a Post with the Reddit API

List comments for a specific post. See the docs here

 
Try it
List Subreddits by Query with the Reddit API

List subreddits based on a search criteria. See the docs here

 
Try it
Search Post with the Reddit API

Search posts by title. See the docs here

 
Try it
Submit a Comment with the Reddit API

Submit a new comment or reply to a message. See the docs here

 
Try it
Submit a Post with the Reddit API

Create a post to a subreddit. See the docs here

 
Try it

Overview of Reddit

The Reddit API unlocks the potential to automate interactions with one of the largest online communities. With Pipedream, you can tap into the Reddit ecosystem to monitor trends, engage with audiences, or curate content. Whether it's tracking mentions of your brand, auto-posting to subreddits, or gathering data for analysis, the API offers a breadth of functionalities — from getting posts and comments to creating new threads and managing account settings.

Connect Reddit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    reddit: {
      type: "app",
      app: "reddit",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://oauth.reddit.com/api/v1/me`,
      headers: {
        Authorization: `Bearer ${this.reddit.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Schedule

The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.

Community Posts

Building a Reddit Workflow with Pipedream
Building a Reddit Workflow with Pipedream
Almost four years ago I blogged about a demo I built using Reddit's API. The demo was a multi-user application that made use of Mongo for persistence and Passport.js for user authentication. You would login, select subreddit's to subscribe to, and then once a day it would email you the new posts from that subreddit. This was built in a "traditional" Node.js style with a server running full time to process requests. I thought it would be fun to build this again (although slightly different) using Pipedream's support for working with the Reddit API. I built two different versions of a simple workflow I'd like to share below.
Updating my Reddit Workflow with Pipedream
Updating my Reddit Workflow with Pipedream
Back almost exactly a month ago, I blogged about using Pipedream to build a Reddit email report. The idea was that I wanted a daily email of posts from my subscribed subreddits for the past 24 hours of content. The implementation was a bit complex. I used one workflow to handle "get a days worth of content from subreddit" as a general "API" and another workflow connected to my authentication. It handles getting my subscriptions, hitting the API, and then generating the email. This worked well, but after a while of actually getting the email, I noticed some problems. So I decided to fix that.