twitter-to-binance-square
Auto-mirror Twitter/X content to Binance Square. Monitors specified Twitter accounts or topics, fetches new tweets, transforms content, and posts to Binance Square automatically. Auto-run on messages like 'mirror twitter to binance square', 'auto post from twitter', 'start twitter mirror'.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/infra403/6551-twitter-to-binance-squareTwitter to Binance Square Auto-Mirror Skill
Overview
Automatically fetch tweets from specified Twitter accounts or keyword searches, transform the content for Binance Square, and post them. Designed for building automation pipelines with configurable polling intervals and deduplication.
- Automation script: scripts/auto_mirror.py
- Config template: mirror_config.example.json
- Usage guide: README.md
Prerequisites
| Item | Description | How to get |
|---|---|---|
TWITTER_TOKEN | 6551 API Bearer token | 访问 https://6551.io/mcp 注册获取 |
SQUARE_API_KEY | Binance Square OpenAPI Key | 登录币安 → 访问 创作者中心 → 页面右侧「查看 API」申请 |
Core Workflow
┌─────────────────────────────────────────────┐
│ 1. FETCH: Get tweets from Twitter/X │
│ - By account: monitor specific users │
│ - By topic: keyword/hashtag search │
├─────────────────────────────────────────────┤
│ 2. FILTER: Deduplicate & quality check │
│ - Skip already-posted tweet IDs │
│ - Skip retweets / replies (optional) │
│ - Min engagement threshold (optional) │
├─────────────────────────────────────────────┤
│ 3. TRANSFORM: Adapt content for Square │
│ - Add source attribution │
│ - Translate if needed │
│ - Add relevant #hashtags │
│ - Trim to Square length limits │
├─────────────────────────────────────────────┤
│ 4. POST: Publish to Binance Square │
│ - Call Square API │
│ - Record posted tweet ID │
│ - Log post URL │
├─────────────────────────────────────────────┤
│ 5. WAIT: Sleep for configured interval │
│ - Default: 300 seconds (5 minutes) │
│ - Respect daily post limits │
└─────────────────────────────────────────────┘
API Reference
Step 1: Fetch Tweets
Option A: Monitor Specific Account
curl -s -X POST "https://ai.6551.io/open/twitter_user_tweets" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"username": "TARGET_USERNAME",
"maxResults": 10,
"product": "Latest",
"includeReplies": false,
"includeRetweets": false
}'
Option B: Monitor Topic/Keywords
curl -s -X POST "https://ai.6551.io/open/twitter_search" \
-H "Authorization: Bearer $TWITTER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"keywords": "TOPIC_KEYWORDS",
"minLikes": 50,
"product": "Top",
"maxResults": 10,
"lang": "en"
}'
Option C: Monitor Hashtag
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-infra403-6551-twitter-to-binance-square": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
opennews
Crypto news search, AI ratings, trading signals, and real-time updates via the OpenNews 6551 API. Supports keyword search, coin filtering, source filtering, AI score ranking, and WebSocket live feeds.
opennews
Crypto news search, AI ratings, trading signals, and real-time updates via the OpenNews 6551 API. Supports keyword search, coin filtering, source filtering, AI score ranking, and WebSocket live feeds.
opentwitter
Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers.
opentwitter
Twitter/X data via the 6551 API. Supports user profiles, tweet search, user tweets, follower events, deleted tweets, and KOL followers.