---
title: "On Facebook Page Oauth Success"
method: POST
path: "/v1/facebook/on_facebook_page_oauth_success"
tags: ["facebook"]
---

# On Facebook Page Oauth Success

`POST /v1/facebook/on_facebook_page_oauth_success`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/facebook/on_facebook_page_oauth_success`
- Auth: none declared

Generate custom firebase token required for login/signup.

## Request body

- FacebookOauthSuccessPayload
  - `code` string, required
  - `redirect_uri` string, required

## Response `200`

Successful Response

- FacebookPageOauthSuccessResponse
  - `firebase_uid` string, required
  - `custom_token` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
