Admin API / Mutations

refreshFacebookAccountToken

Renews the stored token of the caller's linked Facebook account from a new Facebook Login token. The server exchanges it for a long-lived token and stores it only when it belongs to the linked account. Unlike connectFacebookAccount, it does not change which account is linked or the magic-comments setting.

Requires a client key with one of these scopes: admin:social:writeRequires this member role or higher: SELLER
refreshFacebookAccountToken(
  input: RefreshFacebookAccountTokenInput!
): RefreshFacebookAccountTokenPayload!

Arguments

ArgumentTypeDescription
inputRefreshFacebookAccountTokenInput!The access token to redeem.

Return type

RefreshFacebookAccountTokenPayload!