Skip to content
Skip to Content

Follow brand

Follows the brand in the workspace. {slug} is a library slug or name (free, as the Follow button on its page), a Meta page id, or a URL-encoded facebook.com page link or Ad Library link with view_all_page_id. The library is read first; only a page it lacks is looked up on Meta, as the app's Track page does, on one of the team's weekly brand lookups (Get usage brand_lookups). A name the library lacks answers candidates from Meta's Ad Library and follows nothing. Following a followed brand succeeds. With no plan, at the follow cap or past the week's lookups it is a 403 plan_limit; past the day's lookups a 429 rate_limited; a link that is not a facebook.com page a 400.

post/api/v1/brands/{slug}/follow

Authentication

API key, OAuth token or signed-in session, sent as Authorization: Bearer <key or token> (a session rides on its cookie). An OAuth token needs mcp:read and mcp:write. See authentication.

Path parameters

  • slugstringrequired

    A library brand slug or name, a Meta page id, or a URL-encoded facebook.com page link or Ad Library link (view_all_page_id). 1 to 500 characters.

Query parameters

  • workspacestring

    A workspace id or exact name from List workspaces, case-insensitive. Defaults to the current workspace. Only your own organization's workspaces resolve. 1 to 120 characters.

Response fields

  • brandstring or null

  • followingboolean

  • followsinteger

  • limitinteger

  • pageobject

    With id, name.

  • alreadyboolean

  • querystring

  • candidatesarray of object

    Each with page_id, name, category, verified, ig_username, brand_slug.

  • lookupsobject

    The team's Meta brand lookups in the last 7 days, shared with the app's Track page: following a page the library lacks spends one, and so does a name search Meta charged for.

  • nextstring

  • urlstring (uri)

  • workspaceobject

    The workspace a call read or changed: the one workspace named, else the current one.

Responses

  • 200

    Following, or Meta's candidates for a name. Body: Follow.

  • 400

    The body, an id or workspace is not valid. Body: Problem.

  • 401

    No credentials, or the token is invalid or expired. The oauth2 security scheme says how to get one. Body: Problem.

  • 403

    forbidden: the token lacks mcp:write, or a session call came from another site. The WWW-Authenticate header carries an insufficient_scope challenge naming mcp:read and mcp:write. plan_limit: the plan includes no follows, the account follows as many brands as it allows, or the week's brand lookups are used. Show detail and resolution to the person. workspace_locked: the workspace is past the plan's workspace count. Use an open one, or ask an admin to change the plan. Body: Problem.

  • 404

    No library brand or Meta page by that name, or Meta has no page at that link. workspace_not_found: the organization has no workspace with that id or name. List workspaces lists them. Body: Problem.

  • 429

    rate_limited: more than 60 requests, or more than 30 writes, a minute from this account. Body: Problem.

  • 503

    The account could not be read or changed; retry shortly. Body: Problem.