Admin API / Mutations
connectFacebookAccount
Links the caller's Facebook account. It redeems a short-lived user access token obtained via Facebook Login. Server-side exchange for a long-lived token: the app secret never leaves the API, and no long-lived Facebook credential ever reaches a device.
Requires a client key with one of these scopes:
admin:social:writeRequires this member role or higher: SELLERconnectFacebookAccount(
input: ConnectFacebookAccountInput!
): ConnectFacebookAccountPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | ConnectFacebookAccountInput! | The access token to redeem. |