Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Handles API credential setup for Facebook, Instagram, YouTube, Twitter/X, and TikTok. Covers navigating developer portals, completing OAuth flows, storing credentials in a database, and refreshing expired tokens. Includes platform-specific gotchas like Facebook's permanent page token derivation pattern and TikTok's mandatory app review requirement.
Consolidates platform-specific auth gotchas like Facebook's short-lived vs permanent token distinction and TikTok's mandatory demo video review into one reference, rather than piecing together five separate developer documentation sites.
When to use it
- Setting up YouTube upload API access for a video scheduling tool
- Obtaining a permanent Facebook Page token for a post automation system
- Refreshing expired TikTok OAuth tokens without restarting the full auth flow
- Configuring Twitter/X Read & Write permissions for an auto-posting bot
- Storing multi-platform credentials in a single database table for a social media manager app
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Set up Facebook and Instagram API access for my content scheduling app
- 1Navigate to developers.facebook.com and create a Business-type app with Facebook Login product
- 2Open Graph API Explorer, request pages_manage_posts and instagram_content_publish scopes, and generate a User Access Token
- 3Exchange the short-lived user token for a long-lived token via the /oauth/access_token endpoint
- 4Call /me/accounts to retrieve the permanent Page Access Token derived from the long-lived user token
- 5Call /{page_id}?fields=instagram_business_account to get the Instagram Business Account ID and store all credentials in platform_connections
Credentials stored with a permanent page_access_token and ig_user_id, ready for Facebook Graph API and Instagram Content Posting API calls
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.