Reddit Integration Test - AI-Powered Discussion Analysis
Table of Contents
Reddit Integration Test
This page demonstrates the new Reddit integration features for WSR Pivot - brutally honest reviews backed by real user discussions and AI analysis.
Basic Reddit Embed
Here’s a basic Reddit embed without AI analysis:
Reddit Embed with AI Analysis
This embed includes an AI analysis button to reveal patterns and sentiment:
Standalone AI Analysis
For focused analysis without the full Reddit embed:
Limited Comments Example
Show only top 5 comments:
How It Works
- Data Fetching: Reddit data is fetched from JSON endpoints
- AI Analysis: Cloudflare AI Workers analyze discussions for sentiment and patterns
- Caching: Results are cached in Cloudflare KV for performance
- SEO-Friendly: Server-rendered content instead of iframes
Syntax Reference
# Basic embed
::reddit{url="REDDIT_URL"}
# With AI analysis
::reddit{url="REDDIT_URL" analysis=true}
# Standalone analysis
::reddit{url="REDDIT_URL" type="analysis"}
# Limit comments
::reddit{url="REDDIT_URL" comments="10"}
# Comprehensive analysis
::reddit{url="REDDIT_URL" type="analysis" analysisType="comprehensive"}
# Focus on complaints
::reddit{url="REDDIT_URL" type="analysis" analysisType="complaints"}
Use Cases for WSR Pivot
- VPN Reviews: Embed real user experiences from r/vpns
- Hosting Horror Stories: Show actual complaints from r/webhosting
- Software Exposés: Include community discussions about problematic services
- Alternative Recommendations: Highlight positive discussions about recommended tools
Expected Results
In Development: Reddit embeds render with placeholder content since Cloudflare AI isn’t available locally.
In Production: Full AI analysis reveals:
- Sentiment analysis (positive/negative/neutral)
- Controversy levels (low/medium/high/nuclear)
- Key topics and complaint patterns
- Actionable recommendations
- Confidence scoring
Perfect for exposing the truth behind marketing hype! 🔥
Top Comments (7)
All NordVPN is good at is placing positive reviews on the internet.