farcaster
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFarcaster
Farcaster
Interact with the Farcaster decentralized social protocol via Neynar API.
通过Neynar API与Farcaster去中心化社交协议进行交互。
Setup
配置
Get your API key from dev.neynar.com:
bash
export NEYNAR_API_KEY=xxx从dev.neynar.com获取你的API密钥:
bash
export NEYNAR_API_KEY=xxxOptional: For posting (requires signer)
可选:用于发布操作(需要signer)
export NEYNAR_SIGNER_UUID=xxx
undefinedexport NEYNAR_SIGNER_UUID=xxx
undefinedCommands
命令
Users
用户
/fc user <username> Look up user profile
/fc search-users <query> Search for users/fc user <username> 查询用户资料
/fc search-users <query> 搜索用户Feeds
动态流
/fc feed [--channel X] Get feed (optionally from channel)
/fc trending Trending casts
/fc channel <id> Get channel info
/fc channels <query> Search channels/fc feed [--channel X] 获取动态流(可指定频道)
/fc trending 热门动态
/fc channel <id> 获取频道信息
/fc channels <query> 搜索频道Search
搜索
/fc search <query> Search casts/fc search <query> 搜索动态Write Operations (require signer)
写入操作(需要signer)
/fc post <text> Post a cast
/fc reply <hash> <text> Reply to a cast
/fc like <hash> Like a cast
/fc recast <hash> Recast
/fc follow <username> Follow user
/fc unfollow <username> Unfollow user/fc post <text> 发布一条动态
/fc reply <hash> <text> 回复一条动态
/fc like <hash> 点赞动态
/fc recast <hash> 转发动态
/fc follow <username> 关注用户
/fc unfollow <username> 取消关注用户Examples
示例
/fc user vitalik.eth
/fc trending
/fc channel base
/fc search "ethereum"
/fc post "Hello Farcaster!"
/fc follow dwr.eth/fc user vitalik.eth
/fc trending
/fc channel base
/fc search "ethereum"
/fc post "Hello Farcaster!"
/fc follow dwr.ethRate Limits
速率限制
- Free tier: 300 requests/minute
- Standard: 1,000 requests/minute
- Premium: Higher limits
- 免费层级:300次请求/分钟
- 标准层级:1000次请求/分钟
- 高级层级:更高限制
Features
功能特性
- User profiles with verified addresses
- Cast search and feeds
- Channel discovery
- Trending content
- Full write operations (with signer)
- 包含已验证地址的用户资料
- 动态搜索与动态流
- 频道发现
- 热门内容
- 完整的写入操作(需signer)