Actions13
Overview
The node "UltimateReddit" enables searching for Reddit posts using the Reddit API. It supports searching either across all of Reddit or within a specific subreddit. This node is useful for scenarios where you want to gather Reddit posts based on keywords, such as monitoring brand mentions, tracking trending topics, or collecting data for sentiment analysis.
For example:
- Searching for posts containing "JavaScript" in the "programming" subreddit.
- Searching for posts mentioning "climate change" across all of Reddit.
Properties
| Name | Meaning |
|---|---|
| Location | Where to search for posts: either "All Reddit" (searches entire Reddit) or "Subreddit" (searches a specific subreddit). |
| Subreddit | The name of the subreddit to search in (required if Location is "Subreddit"). |
| Keyword | The keyword to search for in posts (required). |
| Return All | Whether to return all matching results or limit the number of results returned. |
| Limit | Maximum number of results to return (used only if Return All is false). |
| Additional Fields | Additional options including: - Sort: How to sort the results. Options are: Comments, Hot, New, Relevance, Top. |
Output
The node outputs an array of JSON objects representing Reddit posts that match the search criteria. Each object contains details about a post such as title, author, subreddit, score, number of comments, creation date, and other metadata provided by the Reddit API.
If binary data is present (e.g., images or media attached to posts), it would be included accordingly, but this node primarily focuses on JSON post data.
Dependencies
- Requires access to the Reddit API.
- Optionally uses OAuth2 credentials for authenticated requests (if configured).
- No additional external dependencies beyond standard HTTP requests to Reddit's API.
Troubleshooting
- Empty Results: Ensure the keyword is correctly specified and matches existing posts. Also verify the subreddit name if searching within a subreddit.
- Authentication Errors: If using OAuth2 authentication, ensure the API credentials are valid and have the necessary permissions.
- Rate Limits: Reddit API enforces rate limits; excessive requests may result in temporary blocking. Use "Return All" judiciously.
- Invalid Subreddit: Searching in a non-existent or private subreddit will yield errors or no results.
- Sort Option Not Working: Confirm the sort option is one of the allowed values: comments, hot, new, relevance, top.