pfm_create_social_account_auth_url
Generate an OAuth URL to connect a user's social media account, redirecting them for authentication and back to your app after approval.
Instructions
Generate an OAuth URL to connect a user's social media account. Redirect the user to this URL; they'll be redirected back after auth. For Quickstart projects using Post for Me system credentials, redirect_url_override is not accepted — configure it in the dashboard instead. Include 'feeds' in permissions to later fetch the account feed and metrics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>"
},
"name": "pfm_create_social_account_auth_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | The social platform: facebook, instagram, x, tiktok, tiktok_business, youtube, pinterest, linkedin, bluesky, threads | |
| external_id | No | Your unique identifier for this social account | |
| permissions | No | Permissions to request. Default: ['posts']. Include 'feeds' to enable account feed and metrics. | |
| platform_data | No | Extra provider-specific data (required for bluesky; optional for others) | |
| redirect_url_override | No | Custom redirect URL after OAuth. Must be in your app's authorized redirect URLs. Not available with system credentials. |