snapchat
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSnapchat Skill
Snapchat Skill
Overview
概述
Automates Snapchat web operations including accessing stories, Snap Map, and account management through the limited web interface.
通过受限的网页界面自动化Snapchat网页端操作,包括访问动态(Stories)、Snap Map以及账号管理。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/snapchat/install.sh | bashOr manually:
bash
cp -r skills/snapchat ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/snapchat/install.sh | bash或手动安装:
bash
cp -r skills/snapchat ~/.canifi/skills/Setup
配置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set SNAPCHAT_USERNAME "your-username"
canifi-env set SNAPCHAT_PASSWORD "your-password"
undefinedcanifi-env set SNAPCHAT_USERNAME "your-username"
canifi-env set SNAPCHAT_PASSWORD "your-password"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。 Canifi LifeOS尊重你的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用你的已认证会话,全程不会获取你的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭证仅能在你的本地机器上访问,绝不会被传输。
Capabilities
功能特性
- View public stories and Discover
- Access Snap Map (web version)
- Download Memories (via data download)
- Manage account settings
- View story analytics (Spotlight)
- Access Snapchat for Web chat
- Manage connected apps
- Update profile information
- 查看公开动态(Stories)和发现页(Discover)
- 访问Snap Map(网页版)
- 下载回忆内容(Memories,通过数据下载)
- 管理账号设置
- 查看动态分析数据(Spotlight)
- 访问Snapchat网页版聊天
- 管理关联应用
- 更新个人资料信息
Usage Examples
使用示例
Example 1: View Stories
示例1:查看动态
User: "Check what's on Snapchat Discover today"
Claude: I'll check Discover content.
- Navigate to snapchat.com
- Access Discover section
- Browse featured stories
- Summarize trending content用户:"看看今天Snapchat发现页有什么内容"
Claude:我将查看发现页内容。
- 导航至snapchat.com
- 进入发现页板块
- 浏览推荐动态
- 总结热门内容Example 2: Access Snap Map
示例2:访问Snap Map
User: "Show me what's happening on Snap Map in New York"
Claude: I'll check the Snap Map.
- Navigate to map.snapchat.com
- Zoom to New York area
- View public snaps
- Describe current activity用户:"给我看看纽约Snap Map上的动态"
Claude:我将查看Snap Map。
- 导航至map.snapchat.com
- 放大到纽约区域
- 查看公开快照
- 描述当前活动Example 3: Download Memories
示例3:下载回忆内容
User: "Help me download my Snapchat data"
Claude: I'll start the data download process.
- Navigate to accounts.snapchat.com
- Go to My Data section
- Request data download
- Notify when ready用户:"帮我下载我的Snapchat数据"
Claude:我将启动数据下载流程。
- 导航至accounts.snapchat.com
- 进入"我的数据"板块
- 申请数据下载
- 准备就绪时通知你Example 4: Update Profile
示例4:更新个人资料
User: "Update my Snapchat display name"
Claude: I'll update your profile.
- Navigate to account settings
- Find profile section
- Update display name
- Save changes用户:"更新我的Snapchat显示名称"
Claude:我将更新你的个人资料。
- 导航至账号设置
- 找到个人资料板块
- 更新显示名称
- 保存更改Authentication Flow
认证流程
- Navigate to accounts.snapchat.com via Playwright MCP
- Enter username and password from canifi-env
- Handle 2FA verification (notify user via iMessage)
- Complete any security checks
- Verify account access
- Maintain session cookies
- 通过Playwright MCP导航至accounts.snapchat.com
- 从canifi-env中读取用户名和密码并输入
- 处理双因素认证(通过iMessage通知用户)
- 完成所有安全检查
- 验证账号访问权限
- 维护会话Cookie
Error Handling
错误处理
- Login Failed: Verify credentials, check for lockout
- Session Expired: Re-authenticate automatically
- 2FA Required: iMessage for verification code
- Feature Not Available: Many features app-only
- Map Location Error: Check location permissions
- Data Download Pending: Wait for processing
- Account Locked: Notify user of status
- Rate Limited: Implement backoff
- 登录失败:验证凭证,检查是否被锁定
- 会话过期:自动重新认证
- 需要双因素认证:通过iMessage发送验证码
- 功能不可用:许多功能仅支持移动端应用
- 地图定位错误:检查定位权限
- 数据下载待处理:等待处理完成
- 账号被锁定:通知用户状态
- 请求受限:实现退避机制
Self-Improvement Instructions
自我优化说明
When encountering new Snapchat web features:
- Document new interface elements
- Add support for new web features
- Log successful patterns
- Update for web app improvements
当遇到Snapchat网页版新功能时:
- 记录新的界面元素
- 添加对新网页功能的支持
- 记录成功的操作模式
- 根据网页应用的更新进行适配
Notes
注意事项
- Most Snapchat features are mobile-app only
- Web chat is limited functionality
- Snap Map shows public snaps only
- Data downloads take time to process
- Spotlight analytics for creators
- Lens Studio is separate platform
- Business features in Ads Manager
- 大多数Snapchat功能仅支持移动端应用
- 网页版聊天功能有限
- Snap Map仅显示公开快照
- 数据下载需要一定处理时间
- Spotlight分析面向创作者
- Lens Studio是独立平台
- 商业功能在广告管理器中