AffPlugin Documentation

Complete setup guide to start generating professional casino reviews with AI-powered automation

🚀 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

1Download & Install
Upload the AffPlugin zip file through WordPress Admin → Plugins → Add New → Upload Plugin
2Activate Plugin
Activate the plugin and navigate to the "Casino Reviews" menu in your WordPress admin
3Configure APIs
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:
🤖
AI Models (Required)
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.
📸
Screenshots (Free Option Available)
FREE
Google PageSpeed: Free screenshot service (included). Limited but sufficient for most users.
📷
Premium Screenshots (Suggested)
PREMIUM
ScreenshotAPI: Advanced screenshot service with better casino site compatibility. 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.
🌐
Proxy System (Optional)
PREMIUM
ScraperAPI: Bypass geo-restrictions and anti-bot protection. Cost: ~$0.001 per request.

📸 Google PageSpeed API Setup (Free Screenshots)

💡 Good to know: This is a free service from Google, but requires a few setup steps. Perfect for getting started without any costs.

Step-by-Step Setup

1Create Google Cloud Account
Visit Google Cloud Console and create a free account if you don't have one.
2Create New Project
In the Google Cloud Console:
  • Click "Select a project" at the top
  • Click "New Project"
  • Name it something like "AffPlugin Screenshots"
  • Click "Create"
3Enable PageSpeed Insights API
Navigate to: PageSpeed Insights API
  • Click "Get Started"
  • Select your project
  • Click "ENABLE THE API"
4Create API Credentials
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
5Restrict API Key (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"
6Add to AffPlugin
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"
✅ You're ready! You can now capture unlimited free screenshots using Google's service.

📷 ScreenshotAPI Setup (Premium Screenshots)

💡 Why upgrade? ScreenshotAPI provides better compatibility with casino sites, automatic cookie handling, ad blocking, and higher quality screenshots.

Pricing Overview

  • Free: 100 screenshots/month
  • Essentials: $9/month for 1,000 screenshots
  • Startup: $29/month for 10,000 screenshots
  • Business: $175/month for 100,000 screenshots
  • Note: Pricing may change - check current rates at screenshotapi.net/pricing

Setup Steps

1Create Account
Visit ScreenshotAPI.net and create a free account.
2Get API Token
After registration:
  • Go to your Dashboard
  • Find your "API Token" (starts with "sa-api-")
  • Copy this token
3Configure in AffPlugin
In WordPress Admin → Casino Reviews → Settings:
  • Select "ScreenshotAPI" as screenshot service
  • Paste your token in "ScreenshotAPI Key"
  • Click "Save API Settings"
4Test Configuration
Generate a test review to verify screenshots are working properly with enhanced quality and casino site compatibility.

🌐 ScraperAPI Setup (Proxy System)

💡 When do you need this? Some casino sites block automated requests or have geo-restrictions. ScraperAPI bypasses these limitations with rotating proxies.

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

1Create Account
Visit ScraperAPI.com and sign up for an account.
2Get API Key
After registration:
  • Go to your Dashboard
  • Find your "API Key" in the account section
  • Copy this key
3Configure in AffPlugin
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"
⚠️ Note: ScraperAPI is only available for Professional and Agency plans. It will automatically be used when configured for sites that block direct requests.

🤖 OpenRouter AI Setup (Claude & DeepSeek)

💡 Required: This is the brain of AffPlugin. OpenRouter provides access to multiple AI models including Claude 3.5 Sonnet and DeepSeek R1.

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

1Create OpenRouter Account
Visit OpenRouter.ai and create an account using Google, GitHub, or email.
2Add Payment Method & Credits
In your OpenRouter dashboard:
  • Go to "Billing" section
  • Add a payment method (credit card)
  • Add initial credits ($20-50 recommended for testing)
3Generate API Key
In OpenRouter dashboard:
  • Go to "Keys" section
  • Click "Create Key"
  • Name it "AffPlugin" (or similar)
  • Copy the generated key (starts with "sk-or-")
4Set Up Auto-Reload (Recommended)
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)
5Configure in AffPlugin
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"
✅ Pro Tip: Start with DeepSeek R1 for cost-effective testing, then upgrade to Claude 3.5 Sonnet for premium quality reviews.

⚙️ Plugin Settings Guide

API Configuration Settings

Claude API Key
REQUIRED
Your OpenRouter API key (same for Claude and DeepSeek models)
Google PageSpeed API Key
OPTIONAL (Free service)
For free screenshot capture using Google's service
Screenshot Service
REQUIRED
Choose between Google PageSpeed (free) or ScreenshotAPI (premium)
ScreenshotAPI Key
OPTIONAL (Premium)
For enhanced screenshot quality and casino site compatibility
ScraperAPI Key
OPTIONAL (Pro/Agency)
For bypassing geo-restrictions and anti-bot protection
ScraperAPI Country Code
OPTIONAL
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

URL Requirements
  • 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
⚠️ Content Requirements: URLs must contain sufficient written content (text, not just images). Pages with rich, detailed information produce significantly better reviews.
💡 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

Affiliate Link
REQUIRED
Your affiliate tracking URL where users will be directed when clicking "Play Now"
Terms & Conditions Link
OPTIONAL
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
  • Light colors (works better on dark background of the rating box)
  • PNG, JPG or SVG format

Screenshot URLs

Screenshot Configuration
  • 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

AI Model Selection
REQUIRED
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
Language
REQUIRED
Choose from 10+ supported languages. Note: Hybrid mode only supports English.
Auto-publish
OPTIONAL
Automatically publish the review when generation is complete, or save as draft for review.

Generation Process

1Content Scraping (20%)
Plugin extracts content from provided URLs (maximum 3), processing up to 5,000 words total for comprehensive analysis with focus on content quality.
2Screenshot Capture (40%)
Captures and optimizes screenshots from specified URLs, resizing to 750x536px for consistent presentation.
3AI Content Generation (80%)
AI models analyze scraped content and generate comprehensive review including pros/cons, ratings, and FAQs.
4Final Assembly (100%)
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

How much does it cost to generate a review?
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
Can I edit the generated reviews?
Yes! Generated reviews are saved as WordPress posts and can be fully edited. We recommend reviewing and customizing the content to add your personal insights and ensure accuracy.
What if a casino website blocks the plugin?
Some casino sites have anti-bot protection. This is where ScraperAPI helps by using rotating proxies and advanced techniques to bypass these restrictions. It's available on Professional and Agency plans.
How long does it take to generate a review?
Typically 2-5 minutes depending on:
  • Number of URLs provided
  • Content complexity
  • AI model selected
  • Number of screenshots
Are the reviews unique and SEO-friendly?
Yes! Each review is generated uniquely based on the specific casino data. The AI creates original content with proper HTML structure, heading hierarchy, and SEO optimization. Hybrid mode additionally humanizes content to pass AI detection tools.
Can I generate reviews in languages other than English?
Yes! Claude and DeepSeek models support 10+ languages including Spanish, French, German, Italian, Portuguese, Russian, Japanese, Korean, and Chinese. Note: Hybrid mode currently only supports English.
What happens if I run out of API credits?
Generation will fail with an "insufficient credits" error. We recommend setting up auto-reload in your OpenRouter account to prevent interruptions. You can also monitor your usage in the OpenRouter dashboard.

🆘 Support

Getting Help

📧
Email Support
For technical issues, billing questions, or general support: [email protected]

Response time: 24-48 hours

📚
Additional Resources
Find more help and information:

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 start? You now have everything needed to generate professional casino reviews with AffPlugin. Begin with the basic setup and gradually add premium features as needed.
Scroll to Top