Manual

XAutoPost Manual

1. Overview

XAutoPost is a WordPress plugin that automatically posts your WordPress articles to X (formerly Twitter).
It supports both instant posting (when you publish an article) and scheduled posting using Excel/CSV templates.
This helps automate daily posting and drive more traffic to your website.

Main features:

  • Automatically post new articles to X when published

  • Schedule posts with Excel/CSV templates (up to 120 rows)

  • Attach up to 4 images or 1 video per post

  • Automatically add hashtags and short URLs


2. Installation

  1. In the WordPress admin panel, go to Plugins > Add New

  2. Click Upload Plugin

  3. Upload xautopost.zip

  4. After installation, click Activate


3. Initial Setup

After activation, a new menu item XAutoPost will appear. Configure the following:

  • API Keys (required)

    • API Key

    • API Secret Key

    • Access Token

    • Access Token Secret
      (obtain from the X Developer Portal)

  • Post Options

    • Max character length (default: 140)

    • Attach images/videos (Yes/No)

    • Schedule interval for reserved posts


4. Basic Usage

4.1 Automatic Posting of New Articles

  1. Create and publish a new WordPress post

  2. The plugin will automatically generate a tweet using:

    • Post title

    • Post URL

    • Hashtags

Example:

How to Start a Side Hustle with AI
https://example.com/ai-sidehustle
#AI #SideHustle

4.2 Scheduled Posting with Excel

  1. Go to XAutoPost > Scheduled Posts

  2. Download the provided Template.xlsx

  3. Fill in the following fields:

DATE TIME TITLE DESCRIPTION URL HASHTAG PIC1 PIC2 PIC3 PIC4 MOV
2025-09-01 10:00 AI Side Hustles Start with AI https://example.com #AI #Hustle 01.jpg
2025-09-02 20:00 ChatGPT Tips Earn with ChatGPT https://example.com #ChatGPT 02.jpg
  1. Upload the Excel file

  2. At the scheduled time, XAutoPost will automatically post it


4.3 Manual Posting

  • You can also manually create posts from the plugin admin page

  • Input: Title, Body, Hashtags, URL, Images/Videos

  • Click Post → Instantly published to X


5. Advanced Usage

  • Images & Videos

    • Up to 4 images OR 1 video per post

    • If both are provided, images take priority

  • Hashtag Auto-Generation

    • Extracts WordPress post tags and converts them to hashtags

  • Short URL Support

    • Built-in simple shortener or Bitly integration


6. Troubleshooting

  • Unauthorized Error
    → Check API keys and tokens are correct

  • Scheduled posts not firing
    → Ensure WP-Cron is active or configure a server cron job

  • Too Many Requests Error
    → Free API accounts allow ~15–16 posts/day; upgrade if needed


7. Appendix

  • Storage Files

    • Excel Template: /uploaded/Template.xlsx

    • Parsed CSV: /uploaded/parsed.csv

    • Post Queue: /uploaded/post.csv

  • Sample Workflow

    1. Prepare 5 scheduled posts daily in Excel

    2. WP-Cron checks every minute

    3. Posts are sent at the scheduled time

    4. Posted rows are removed from post.csv

関連記事一覧