Skip to main content

autessa.connectors.facebook

6 methods in the connectors.facebook namespace.

autessa.connectors.facebook.allREAD

autessa.connectors.facebook.all({ pageSize, pageToken })

List every Facebook connector you can access in your current company.

List every Facebook connector you can access in your current company. Takes no arguments and returns each connector you have at least READ access to. Use a connector's connectorId with the other Facebook connector methods. Stored credentials are never included.

Request fields

  • Name
    pageSize
    Type
    number
    Description
  • Name
    pageToken
    Type
    string
    Description

Response fields

  • Name
    connectors
    Type
    FacebookConnectorDto[]
    Description
  • Name
    nextPageToken
    Type
    string
    Description

autessa.connectors.facebook.deleteMUTATE

autessa.connectors.facebook.delete({ connectorId })

Permanently delete a Facebook connector and its stored credential.

Permanently delete a Facebook connector and its stored credential. Removes the connector for connectorId, revoking every tool and script that relied on it. The stored credential is destroyed and cannot be recovered — reconnecting requires the full OAuth flow again. Restricted to the connector's owner. High-risk and irreversible.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    message
    Type
    string
    Description

autessa.connectors.facebook.getREAD

autessa.connectors.facebook.get({ connectorId })

Fetch one Facebook connector by id.

Fetch one Facebook connector by id. Returns the full connector for connectorId — including its linked account, Pages, and sharing and active state — but never the stored credential. Fails if you lack READ access to the connector.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    connector
    Type
    FacebookConnectorDto
    Description

autessa.connectors.facebook.getSharingDetailsREAD

autessa.connectors.facebook.getSharingDetails({ connectorId })

Read the current sharing configuration of a Facebook connector.

Read the current sharing configuration of a Facebook connector. Returns how the connector is shared — the overall sharingLevel, the companyPermissionLevel granted for COMPANY sharing, the explicit sharedWith members, and your own userAccessLevel. Use it before share to see the current state.

Request fields

  • Name
    connectorId
    Type
    string
    Description

Response fields

  • Name
    sharingLevel
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    companyPermissionLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    sharedWith
    Type
    UserShareWrapper[]
    Description
  • Name
    userAccessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description

autessa.connectors.facebook.shareMUTATE

autessa.connectors.facebook.share({ connectorId, level, accessLevel, usersToAdd, usersToRemove })

Change who in your company can use a Facebook connector.

Change who in your company can use a Facebook connector. level=PRIVATE keeps it to the owner; level=COMPANY grants everyone in the company the given accessLevel; level=SPECIFIC_MEMBER shares with named users — add them in usersToAdd and revoke via usersToRemove (each a UserShareWrapper). accessLevel applies to COMPANY sharing. Sharing lets other members' tools and scripts use the connector; the credential itself is never exposed. Requires ADMIN access. Returns the sharing state now in effect.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    usersToAdd
    Type
    UserShareWrapper[]
    Description
  • Name
    usersToRemove
    Type
    UserShareWrapper[]
    Description

Response fields

  • Name
    level
    Type
    "PRIVATE" | "SPECIFIC_MEMBER" | "COMPANY"
    Description
  • Name
    accessLevel
    Type
    "READ" | "WRITE" | "PUBLISH" | "ADMIN"
    Description
  • Name
    usersWithAccess
    Type
    UserShareWrapper[]
    Description

autessa.connectors.facebook.updateMUTATE

autessa.connectors.facebook.update({ connectorId, connectorName, isActive })

Rename a Facebook connector or toggle whether it is active.

Rename a Facebook connector or toggle whether it is active. Applies a sparse patch to the connector for connectorId — send connectorName to rename it, send isActive to enable or disable it. Omit a field to leave it unchanged. Does not touch the stored credential or sharing. Requires WRITE access.

Request fields

  • Name
    connectorId
    Type
    string
    Description
  • Name
    connectorName
    Type
    string
    Description
  • Name
    isActive
    Type
    boolean
    Description

Response fields

  • Name
    message
    Type
    string
    Description
  • Name
    connector
    Type
    FacebookConnectorDto
    Description