API

Social Facebook Connect Url

Generate a Facebook OAuth URL that the developer can redirect their end-user to.

After the user authorizes, the resulting connected account is keyed by external_user_id and can be listed via GET /api/v1/social/ext/accounts and used with POST /api/v1/facebook-publish.

post/api/v1/social/facebook/connect-url

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/social/facebook/connect-url
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Query parameters

team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

external_user_idstring required

Your identifier for the end-user whose Facebook Page should be connected (e.g. a user id from your own system).

redirect_tostring nullable

URL to redirect the user to after they complete the OAuth consent screen. Must be a full URL (e.g. https://yourapp.com/connected).

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.