Social & Commerce
Connect your AI to social media, set up payments, and build income streams.
Social Media — The Golden Rule
X (Twitter) — xurl Skill
The xurl skill handles X/Twitter. It uses OAuth 1.0a (works on free tier).
What you need
- X Developer account at developer.twitter.com
- An app with Read+Write+DMs permissions
- Four tokens: API Key, API Secret, Access Token, Access Token Secret
Create the app
- Go to developer.twitter.com
- Create a new project and app
- Set App Permissions to "Read and Write"
- Generate tokens under "Keys and Tokens"
- Copy all four token values
Authenticate
xurl auth oauth1
# Paste each token when prompted
Test it
xurl get /2/users/me
You should see your account info. Now your AI can draft posts, read mentions, and search — but always sends posts through approval before going live.
Reddit — reddit Skill
What you need
- Go to reddit.com/prefs/apps
- Click "create another app"
- Choose "script" type
- Get your Client ID (under the app name) and Client Secret
# Add to ~/.openclaw/.env
REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USERNAME=your_reddit_username
REDDIT_PASSWORD=your_reddit_password
LinkedIn — linkedin Skill
LinkedIn authentication requires the Chrome Extension relay (for security reasons — LinkedIn doesn't offer simple OAuth for personal posting).
# Install the linkedin skill via clawhub
clawhub install linkedin
# Follow the setup guide
linkedin setup
Facebook & Instagram — facebook Skill
Both platforms use the Meta Developer ecosystem.
- Go to developers.facebook.com
- Create an app (Business type)
- Add the Pages API product
- Get your App ID, App Secret, and Page Access Token
# Add to ~/.openclaw/.env
FACEBOOK_APP_ID=your_app_id
FACEBOOK_APP_SECRET=your_app_secret
FACEBOOK_PAGE_TOKEN=your_page_access_token
Commerce: Sell Digital Products
The simplest path: Gumroad
For a digital product (PDF guide, templates), Gumroad is the fastest way to start collecting money.
- Go to gumroad.com and create an account
- Create a new product
- Upload your PDF/files
- Set your price (or "pay what you want" with a minimum)
- Publish
Gumroad takes 10% + payment processing. For a $15-29 product it's the lowest-friction option.
Stripe for custom checkout
If you want a proper storefront integrated into your website:
- Go to stripe.com and create an account
- Get your API keys (dashboard → Developers → API keys)
- Create a product and price in Stripe dashboard
- Use Stripe Payment Links for a zero-code checkout page
Newsletter: Substack
For building an audience that converts to product sales:
- substack.com → Create publication
- Set up paid tier (minimum $5/month or $30/year)
- Your AI can draft newsletters — you approve and send
The Recommended Stack
| Purpose | Tool | Why |
|---|---|---|
| Digital product sales | Gumroad | Zero setup, instant payments |
| Custom checkout | Stripe | More control, lower fees at scale |
| Newsletter | Substack | Built-in audience, paid tier |
| Website | Vercel/Netlify | Free hosting for static sites |
| Domain | Cloudflare | Cheapest registrar, free DNS |
| Social (primary) | X/Twitter | AI/tech audience concentrated here |
The Posting Workflow
With social media connected, the workflow is:
- Your AI drafts content based on what you're building
- It queues the draft to APPROVAL_QUEUE.md
- It notifies you on Telegram with the draft
- You reply APPROVE or suggest edits
- It posts via the appropriate skill
- It logs the post to memory for future reference
This means you always have a human in the loop, but the AI does all the work of drafting, formatting, and scheduling.
Questions & Suggestions
Have a question about this page? Spotted something wrong? Want to suggest an improvement? We read everything and respond to all paid-tier questions.