Skip to main content

Scenario

Your brand wants to sound like the community it serves. This job pulls hot posts and comment threads, concatenates organic language into a corpus, then feeds it to Mavera’s Brand Voice endpoint as extracted_content. The output is a “community voice” that captures vocabulary, rhythm, humor, and register.

Architecture

Code

Example Output

Error Handling

Reddit replaces removed/deleted comments. The code filters these. If corpus is small, switch to /top?t=month.
Monitor X-Ratelimit-Remaining and X-Ratelimit-Reset. Code sleeps on 429s.
Return 403. Quarantined subs require quarantine: true header.

Reddit Integration

Brand Voice