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: SELLER
connectFacebookAccount(
  input: ConnectFacebookAccountInput!
): ConnectFacebookAccountPayload!

Arguments

ArgumentTypeDescription
inputConnectFacebookAccountInput!The access token to redeem.

Return type

ConnectFacebookAccountPayload!