Manage your social media from chat. Schedule posts, view analytics, generate AI content, and list connected accounts using the SocialRails API.
```bash
openclaw install socialrails
```
```bash
openclaw config socialrails apiKey sr_live_your_key_here
```
| Command | Description | Required Parameters |
|---------|-------------|---------------------|
| schedule-post | Schedule a social media post | content, platform |
| show-analytics | View posting analytics | — |
| generate-caption | Generate AI-powered content | prompt |
| list-posts | List your scheduled or published posts | — |
| list-accounts | List your connected social media accounts | — |
Twitter, LinkedIn, Facebook, Instagram, TikTok, Bluesky, Pinterest, Threads, YouTube
> Schedule a tweet about our product launch for next Monday at 9am
> Show me analytics for the last 30 days
> Generate an Instagram caption for a photo of our new office
> List my scheduled posts
> What accounts do I have connected?
Configuration is stored in ~/.openclaw/openclaw.json:
{
"skills": {
"socialrails": {
"apiKey": "sr_live_your_key_here",
"baseUrl": "https://socialrails.com/api/v1"
}
}
}
Your API key needs the right scopes for each command:
read — list-posts, show-analytics, list-accounts
write — schedule-post
ai — generate-caption
For full access, create a key with all three scopes.
共 1 个版本