AffPlugin Documentation
Complete setup guide to start generating professional casino reviews with AI-powered automation
📚 Table of Contents
🚀 Getting Started
What is AffPlugin?
AffPlugin is an AI-powered WordPress plugin that automatically generates professional casino reviews. It uses multiple AI models, automated screenshot capture, and advanced content generation to create high-converting affiliate content in 10+ languages.
Prerequisites
- WordPress: Version 5.0 or higher
- PHP: Version 7.4 or higher
- Memory: At least 128MB PHP memory limit
- Storage: 50MB+ for plugin and screenshots
Installation Steps
Upload the AffPlugin zip file through WordPress Admin → Plugins → Add New → Upload Plugin
Activate the plugin and navigate to the “Casino Reviews” menu in your WordPress admin
Set up the required API keys for AI models and optional services (detailed below)
🔧 API Configuration Overview
AffPlugin uses multiple APIs to provide its functionality. Here’s what each service does:
OpenRouter: Provides access to Claude and DeepSeek AI models for content generation. Pricing: Claude Sonnet 3.5 ($3/M input, $15/M output tokens), DeepSeek R1 ($0.45/M input, $2.15/M output tokens). Current rates at openrouter.ai may vary.
Google PageSpeed: Free screenshot service (included). Limited but sufficient for most users.
ScreenshotOne: Probably the best model between others, with better casino site compatibility and advanced rendering capabilities. Free: 100 screenshots per month – Pricing: Essentials ($17/month, 2,000 screenshots), Growth ($79/month, 10,000), Scale ($259/month, 50,000). Additional screenshots from $0.004-$0.009 each depending on plans at screenshotone.com/pricing/.
Site-Shot: High-performance screenshot service with dedicated workers for faster processing. Free: 100 screenshots per month – Pricing: X-Lite ($5/month, 2,000 screenshots), Lite ($15/month, 10,000), Optimal ($50/month, 50,000), Professional ($500/month, 625,000). Additional screenshots from $0.0008-$0.0025 each depending on plans at site-shot.com/pricing/.
ScreenshotAPI: Advanced screenshot service with reliable uptime and comprehensive API documentation. Pricing: Free plan (100/month), Essentials ($9/month, 1,000), Startup ($29/month, 10,000), Business ($175/month, 100,000). Current rates at screenshotapi.net/pricing may vary.
ScraperAPI: Bypass geo-restrictions and anti-bot protection. 1,000 free API credits per month or visit plans here.
📸 Google PageSpeed API Setup (Free Screenshots)
Step-by-Step Setup
Visit Google Cloud Console and create a free account if you don’t have one.
In the Google Cloud Console:
- Click “Select a project” at the top
- Click “New Project”
- Name it something like “AffPlugin Screenshots”
- Click “Create”
Navigate to: PageSpeed Insights API
- Click “Get Started”
- Select your project
- Click “ENABLE THE API”
In Google Cloud Console:
- Go to “APIs & Services” → “Credentials”
- Click “+ CREATE CREDENTIALS” → “API key”
- Copy the generated API key
- Important: Click “RESTRICT KEY” for security
For security, restrict your API key:
- Under “Application restrictions”: Select “HTTP referrers”
- Add your website URL:
yourdomain.com/* - Under “API restrictions”: Select “PageSpeed Insights API”
- Click “Save”
In WordPress Admin → Casino Reviews → Settings:
- Paste your API key in “Google PageSpeed API Key”
- Select “Google PageSpeed Insights” as screenshot service
- Click “Save API Settings”
📷 ScreenshotOne Setup – Freemium Screenshot Service (RECOMMENDED)
Pricing Overview
- Free: 100 screenshots/month
- Essentials: $17/month for 2,000 screenshots
- Growth: $79/month for 10,000 screenshots
- Scale: $259/monthfor 50,000 screenshots
- Additional screenshots from $0.004-$0.009 each depending on plans
- Note: Pricing may change – check current rates at screenshotapi.net/pricing
Setup Steps
Visit ScreenshotAPI.net and create a free account.
After registration:
- Go to your Dashboard
- Find your “Access Key” (not the Secret Key)
- Copy the Access Key
In WordPress Admin → Casino Reviews → Settings:
- Select “ScreenshotOne” as screenshot service
- Paste your Access Key in “ScreenshotOne API Access Key”
- Click “Save API Settings”
Generate a test review to verify screenshots are working properly with enhanced quality and casino site compatibility.
🌐 ScraperAPI Setup (Proxy System)
Pricing Overview
- Hobby: $49/month – 100,000 API Credits, 20 concurrent threads, US & EU geotargeting
- Startup: $149/month – 1,000,000 API Credits, 50 concurrent threads, US & EU geotargeting
- Business: $299/month – 3,000,000 API Credits, 100 concurrent threads, all geotargeting
- Scaling: $475/month – 5,000,000 API Credits, 200 concurrent threads, all geotargeting
Setup Steps
Visit ScraperAPI.com and sign up for an account.
After registration:
- Go to your Dashboard
- Find your “API Key” in the account section
- Copy this key
In WordPress Admin → Casino Reviews → Settings:
- Paste your key in “ScraperAPI Key”
- Optionally set “ScraperAPI Country Code” (e.g., “us”, “uk”)
- Click “Save API Settings”
🤖 OpenRouter AI Setup (Claude & DeepSeek)
Current Token Pricing
- Claude 3.5 Sonnet: $3/M input tokens, $15/M output tokens
- DeepSeek R1: $0.45/M input tokens, $2.15/M output tokens
- Note: Rates may change – check current pricing at openrouter.ai
Setup Steps
Visit OpenRouter.ai and create an account using Google, GitHub, or email.
In your OpenRouter dashboard:
- Go to “Billing” section
- Add a payment method (credit card)
- Add initial credits ($20-50 recommended for testing)
In OpenRouter dashboard:
- Go to “Keys” section
- Click “Create Key”
- Name it “AffPlugin” (or similar)
- Copy the generated key (starts with “sk-or-“)
To prevent service interruptions:
- Go to https://openrouter.ai/settings/credits
- Add initial credits if needed
- In the “Auto Top-Up” section, click “Manage”
- Enable “Auto top up option”
- Set “When credits are below:” (e.g., $5)
- Set “Purchase this amount:” (e.g., $25-50)
In WordPress Admin → Casino Reviews → Settings:
- Paste your key in “Claude API Key” field
- The same key works for both Claude and DeepSeek
- Click “Save API Settings”
⚙️ Plugin Settings Guide
API Configuration Settings
Your OpenRouter API key (use the same key for both Claude and DeepSeek models)
ScreenshotOne (recommended), Site-Shot, ScreenshotAPI, Google PageSpeed (free)
For bypassing geo-restrictions and anti-bot protection
2-letter country code (e.g., “us”, “uk”) for geo-targeting
✍️ Generating Reviews
Review Generation Form
Navigate to Casino Reviews → Generate New Review to access the generation form.
Casino URLs
- Minimum: 1 URL (homepage recommended)
- Maximum: 3 URLs for comprehensive reviews
- Content Quality: URLs must have abundant written content – the better the content, the better the reviews
- Best practice: 2-3 URLs with different page types from top SERP results
💡 Recommended URL Types (with quality/abundant content from top SERP results):
- A detailed and fact-checked review which already rank on good positions
- Homepage (main casino page of the official website to review)
- Games section or slots page
- Promotions/bonuses page
- About us or licensing page
- Banking/payments page
The plugin is smart enough to discard duplicate contents.
Links Configuration
Your affiliate tracking URL where users will be directed when clicking “Play Now”
Link to casino’s T&C page for legal compliance
Casino Logo Upload
Upload Casino Logo (Optional)
For best results, use logos with:
- Transparent background
- Colorful (Dark/black colors are not rendered)
- PNG, JPG or SVG format
Screenshot URLs
- First URL: Main screenshot (appears at top of review)
- Additional URLs: Section-specific screenshots (strongly recommended): choose the ones corresponding to the fields, example: for the bonus/promotions field, visit the official site to review, go to the promotions page (or similar), copy/paste the url in the appropriate field, continue with the others. Note: some screenshots may fail due to restrictions, geo-blocks, slow fetching, popups. In such case it would be usful to switch method from Google Insights to ScreenshotAPI or vice versa.
- Maximum: 6 screenshot URLs
- Auto-generated captions: Based on page content
Content Generation Settings
Claude 3.5: Premium quality
DeepSeek R1: Cost-effective, good quality (start with this model to take confidence with the plugin)
Hybrid/Humanized: Our best model: Best quality, passes AI detection
Choose from 10+ supported languages. Note: Hybrid mode only supports English.
Automatically publish the review when generation is complete, or save as draft for review.
Generation Process
Plugin extracts content from provided URLs (maximum 3), processing up to 5,000 words total for comprehensive analysis with focus on content quality.
Captures and optimizes screenshots from specified URLs, resizing to 750x536px for consistent presentation.
AI models analyze scraped content and generate comprehensive review including pros/cons, ratings, and FAQs.
Combines all elements into final review with proper HTML structure, rating boxes, and optimized layout.
🔧 Troubleshooting
Common Issues & Solutions
❌ “API Connection Error”
Possible causes:
- Invalid API key format
- Insufficient credits in OpenRouter account
- Network connectivity issues
Solutions:
- Verify API key is correct and active
- Check OpenRouter balance and add credits
- Test with a simpler review first
❌ “Screenshot Capture Failed”
Possible causes:
- Website blocks automated requests
- Invalid URL or website offline
- API quota exceeded
Solutions:
- Try different screenshot service
- Verify URLs are accessible
- Consider using ScraperAPI for blocked sites
❌ “Insufficient Content”
Possible causes:
- URLs contain mostly images/little text
- Website uses heavy JavaScript
- Content is behind login walls
Solutions:
- Add more content-rich URLs
- Include about/info pages
- Use publicly accessible pages only
❌ “Generation Timeout”
Possible causes:
- Server memory limits
- Too many URLs provided
- Complex content processing
Solutions:
- Reduce number of URLs
- Try generating during off-peak hours
- Contact hosting provider about limits
🎯 Best Practices
For Optimal Results
URL Selection
- Quality over quantity: 1-2 content-rich URLs are better than 3 sparse ones
- Diverse content: Mix existing reviews to homepage, games, promotions, and info pages
- Public pages only: Avoid login-required or restricted content
- Fresh content: Use recently updated pages when possible
AI Model Selection
- Testing: Start with DeepSeek R1 for cost-effective testing
- Production: Use Claude 3.5 for premium quality reviews
- Detection-resistant: Use Hybrid mode for content that needs to pass AI detection
- Language support: Hybrid mode only supports English currently
Screenshot Strategy
- Main screenshot: Always use casino homepage for first screenshot
- Section screenshots: Capture specific sections (games, bonuses, etc.)
- Quality pages: Screenshot pages with clear, professional layouts
- Avoid popups: Skip pages with intrusive popups or overlays
Content Optimization
- Review drafts: Always review generated content before publishing
- Custom edits: Add personal insights and experiences (optional)
- SEO optimization: Optimize titles and meta descriptions (optional)
- Update regularly: Refresh reviews quarterly for accuracy
Cost Management
API Usage Optimization
- Monitor spending: Check OpenRouter usage regularly
- Set limits: Use spending limits to prevent overages
- Model selection: Balance cost vs quality based on content goals
❓ Frequently Asked Questions
AI costs are based on token usage:
- Claude 3.5 Sonnet: $3/M input tokens, $15/M output tokens
- DeepSeek R1: $0.45/M input tokens, $2.15/M output tokens
- Screenshots: Free with Google PageSpeed, $9-175/month with ScreenshotAPI plans
- Proxy (optional): $49-475/month ScraperAPI plans
- Note: Token pricing may vary – check openrouter.ai for current rates
Typically 2-5 minutes depending on:
- Number of URLs provided
- Content complexity
- AI model selected
- Number of screenshots
🆘 Support
Getting Help
For technical issues, billing questions, or general support:
Response time: 24-48 hours
Before Contacting Support
- Check this documentation for solutions
- Verify all API keys are correct and active
- Test with a simple review first
- Include error messages and plugin version in your message
Ready to Generate Your Own Reviews?
Join thousands of affiliate marketers who have transformed their content creation process with AffPlugin’s AI technology.