ocoya_get_social_connection_url
Returns an Ocoya URL that starts connecting a social network to a workspace. The user opens the URL in a browser, approves the social network OAuth flow, then selects the profiles to connect.
Instagram Business uses Facebook authentication first, then returns to the Instagram profile selection step.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
workspaceId | string | Yes | Workspace ID from ocoya_list_workspaces. |
provider | string | Yes | One of facebook, instagram, twitter, linkedin, pinterest, or tiktok. |
Example
Returns
ReturnsauthUrl, callbackUrl, the requested provider, and the OAuth authProvider used to start the flow.
Open authUrl in a browser while signed in to Ocoya.