Agency_

Solutions/Social & Distribution
𝕏Native X API v2 OAuth PKCE

Automatically Post to X (Twitter) from Your Website, SEO Audits & Content Pipeline

Connect a dedicated X (Twitter) profile to each website project in seconds. Let Marty AI (Social Strategist) and Chris AI (Queue Scheduler) turn your top pages, Search Console winners, and newly published articles into scheduled X posts—with Human-in-the-Loop approval or full post-scan autopilot.

By Shaun Anderson•AI Specialists: Marty AI & Chris AI•Connector: /social/connections
Per-Project 1-Click OAuth / API Connector
AES-256-GCM Encrypted VaultManaged by Marty AI & Chris AI (Social Team)

Connect Agency to X (Twitter) in 1 Click

Link your X handle to your active project using OAuth 2.0 PKCE. Once connected, Marty AI and Chris AI can draft, stagger, and publish tweets directly from your site crawls and editorial pipeline.

1Create or select your website project inside Agency.
2Click "Connect X (Twitter)" to authorize via 1-click OAuth 2.0 PKCE.
3Generate a 72-hour X queue or enable post-scan Autopilot in /office/automation.
⚡Supports 1-Click Human Approval or Full Post-Scan Autopilot
Start in Under 60 Seconds
Create your account & launch X (Twitter) inside your workspace
Create Account & Connect X (Twitter)Sign In & Open X (Twitter) →

1. Why Connect X Directly to Your Agentic SEO & Content Workspace?

Traditional social media schedulers sit completely disconnected from your website's real performance data. You still have to manually check which pages are gaining impressions in Google Search Console, copy URLs from your CMS, write hooks by hand, and paste them into a separate social calendar.

In Agency, your X (Twitter) publisher is wired directly into the same intelligence engine that crawls your domain, runs your 35-Dial Website Quality Rater evaluation, tracks your Google Search Console and GA4 Analytics deltas, and writes fact-checked articles.

Grounded in Your Real Website Data

Marty AI reads your actual page titles, canonical URLs, entity charter, and verified case notes before drafting a single tweet—preventing hallucinated claims or off-topic filler.

Per-Project Multi-Brand Isolation

Every project in Agency has its own isolated X connection. Switching from Project A to Project B in the top header immediately switches your active `@handle` and queue.

Quality Control & Prime Directives

Every social campaign generated by the workflow is audited by Michael AI (Managing Director, QC) and Meg AI(Compliance & Prime Directives) before entering your queue.

1-Click OAuth or Bring-Your-Own App

Connect in seconds using Agency's verified OAuth 2.0 PKCE application, or enter your own X Developer Portal Client ID & Secret for custom enterprise rate limits.


2. Step-by-Step: How to Connect X to Your Agency Project

Connecting X takes less than 30 seconds and requires zero code:

Step 1: Open Social Connections (`/social/connections`)

Project Scoped

Navigate to Studio → Publisher → Social → Connections (or click the + Connect X button directly inside the /social/queue header). Make sure your target website project is selected in the top bar.

Step 2: Authorize via X OAuth 2.0 PKCE

AES-256-GCM Encrypted

Select Quick connect (Agency app) and click Connect X (Twitter). You will be redirected to X's official authorization screen. Click Authorize app to return to Agency.

Agency stores your access and refresh tokens inside the AES-256-GCM encrypted credential vault and automatically refreshes short-lived OAuth 2.0 tokens before dispatching scheduled posts.

Step 3: Choose Human-in-the-Loop Queue or Post-Scan Autopilot

Marty AI & Chris AI

Once connected, your X `@handle` and avatar appear in the Posting as bar at the top of /social/queue and /social/x. You can now trigger campaigns on demand or enable automatic post-scan social generation in Creative Dept → Automation (/office/automation).


3. Four Ways Agency Automatically Populates Your X Queue

Workflow 1 • Post-Scan Social Campaign

72-Hour Site Crawl Social Campaign

After a 35-Dial Quality Rater scan, Marty AI selects your highest-scoring indexable pages, crafts punchy 280-character X hooks with canonical links, and Chris AI staggers them across a 72-hour schedule in /social/queue.

Workflow 2 • Search Console & GA4

Amplify Search Console Winners on X

Inside /console/winners-losers and /analytics, click Amplify Winners on Social. Marty AI turns your fastest-rising search queries and top-converting URLs into immediate X threads.

Workflow 3 • Editorial Broadcaster

Auto-Promote Newly Published Articles

Whenever the 20-agent Writer pipeline finishes an article and publishes it via Kali AI (WordPress/CMS) or Chloe AI (Vercel Blog), a matching promotional X post is automatically queued.

Workflow 4 • Direct Voice & Chat

1-on-1 Co-Drafting with Marty AI & Elsa

Click Tweet in Chat (Marty AI) on /social/x—or tell Elsa on a live voice call to ask Marty for a tweet about your latest announcement—and approve it in chat.


4. Frequently Asked Questions: Connecting X to Agency

How does Agency connect to my X (Twitter) account?

Agency connects to X using official OAuth 2.0 with PKCE (`tweet.read`, `tweet.write`, `users.read`, `offline.access`). You can either use our 1-click Quick Connect (Agency App) or supply your own X Developer Portal Client ID and Secret. All tokens are encrypted at rest using AES-256-GCM inside the Agency credential vault.

Can I connect different X accounts for different websites or clients?

Yes. Unlike single-profile social schedulers, X connections in Agency are scoped per Project. If you manage five websites or client brands, each project has its own isolated X connection, Social Queue (`/social/queue`), and team permissions.

Does Agency post to X automatically, or can I approve tweets first?

You control the governance mode. By default, Marty AI drafts your tweets and Chris AI stages them in your Social Queue (`/social/queue`) where you can edit, reschedule, or approve them. If you want full hands-free automation after every site scan, you can enable Multi-Platform Social Campaign Generation in Workflow Preferences (`/office/automation`).

Where does Marty AI get the content for my X posts?

Marty AI never writes generic AI filler. Every X post is grounded in four real data sources from your project: (1) your 35-Dial Website Quality Rater crawl, (2) your fastest-growing queries from Google Search Console Winners & Losers, (3) your top-performing pages in Google Analytics 4, and (4) finished, fact-checked articles published by the 20-agent Writer pipeline.

What happens if I want to disconnect X or revoke a team member’s access?

Project Owners and Editors can disconnect X in one click on `/social/connections`, which immediately deletes the stored OAuth tokens from our vault. Furthermore, if a collaborator who connected an X account is removed from a project or downgraded to Viewer, Agency automatically disables that connection.


Related Solutions & Guides

Shaun Anderson

Shaun Anderson

Shaun Anderson, AKA @hobo_web, is the Lead AI Architect behind Agency (thisisagency.ai). Shaun has over 25 years of experience in forensic SEO auditing. He was a primary investigator of the Google Search Leak of 2024, the writer of The Hobo SEO Quadrilogy, and a Keynote speaker at SMX Paris 2026.

Disclosure: I use generative AI when specifically writing about my own experiences, ideas, stories, concepts, tools, tool documentation or research, across the Hobo Web and Agency platforms. My tool of choice for this process is Agency—the publishing architecture I created and licensed to Candlestickoperations Ltd—using Google Gemini Pro (2.5 / 3) Deep Research and Reasoning and later models (as default). I have been writing about Google Search for 2 decades. This content is a direct result of cutting-edge HITL AI content production, using a process I designed myself and described in my 2025 ebook, Strategic AI SEO. Also note: This content has not been created to “pass off” as human, or “write as Shaun Anderson” (me). It is raw, factually correct content. Agency can produce content with certain styles, but it is not my aim to fool anyone with it. This is the state of AI content in 2026, an example of the default Agency creative output. All content was conceived, directed, edited, fact-checked and verified as correct by me (and is under constant development). This article is amongst the first “beta-test” of Agency, the autonomous AI-powered Agency as presented in my March 2026 SMX Paris keynote presentation. Edited by Shaun Anderson AKA Hobo. Corrections welcome. Read my AI policy.

Get Early Access & Earlybird Deal

Sign up for private beta access and lifetime deal.

Agency (Thisisagency.ai) is in public beta. Agency is an AI workplace simulation. Agency was conceived, bootstrapped, and architected solo by Shaun Anderson AKA Hobo (@hobo_web). “This Is Agency” and “Agency” are trading names of Candlestickoperations Ltd. Registered in England and Wales, Company No. 17503419. Registered Office: 3rd Floor, 86-90 Paul Street, London, England, EC2A 4NE.
All team members are AI entities powered by Google Gemini technology (by default). When API are available, Agency is a multi-provider, multi-model, multi-modal, multi agent system.