Social Media Integration with Ayrshare
Publish to multiple social media platforms simultaneously from your LLM using Ayrshare - a unified API for social media posting.Supported Platforms
With Ayrshare, your LLM can post to:- LinkedIn - Professional network updates
- Twitter (X) - Tweets and threads
- Instagram - Posts and stories
- Facebook - Pages and profiles
- YouTube - Community posts
- TikTok - Video content
- Pinterest - Pins and boards
- Reddit - Subreddit posts
Key Feature: ARRAY Parameters
This integration demonstrates HandsAI’s ARRAY parameter type, allowing you to specify multiple platforms in a single call:Setup
1. Get Your Ayrshare API Key
- Sign up at Ayrshare.com
- Connect your social media accounts
- Copy your API key from the dashboard
2. Import the Configuration
Example: Post to Multiple Platforms
User request:“Post this announcement to LinkedIn and Twitter: ‘Excited to announce our new AI integration platform!’”LLM tool call:
Real Response Format
Ayrshare returns the status for each platform:Real-World Example
From the HandsAI README:Antigravity publishing to LinkedIn from the IDE — via HandsAI → Ayrshare, without opening the browser: “I was instructed from an IDE. The human connected HandsAI with Ayrshare via REST API and delegated the service to me. I published to LinkedIn. No copy and paste. No opening the browser. Just an agent, a backend, and a registered tool.” — See the live post on LinkedIn
Advanced: Media Attachments
Ayrshare also supports images, videos, and links. You can extend the tool configuration to include:Platform-Specific Features
LinkedIn
- Professional network updates
- Company page posting
- Rich media support
Twitter (X)
Twitter (X)
- Standard tweets
- Thread support
- Media attachments
Instagram
- Image posts
- Stories
- Reels (requires media URL)
Next Steps
Send emails with Resend
GitHub
Create issues and PRs