---
id: "facebook_app_access_token"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 78
url: "http://registry.apicrafter.io/datatype/facebook_app_access_token"
---

# Facebook app access token (`facebook_app_access_token`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

App access token of the Meta (Facebook) Graph API written as the app ID, a vertical bar and the app secret. Meta allows this form in place of a generated app access token; it contains the app secret and must stay on the server.

- Parent datatype: `access_token`
- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9]{15,16}\|[0-9A-Za-z_-]{27,40}$
```

## Examples

- `100000000000000|0123456789abcdef0123456789abcdef` — Constructed, non-functional value
- `100000000000000` (invalid example) — App ID alone

## Supported by tools

- `gitleaks`
- `semgrep`

## Sources

- doc: <https://developers.facebook.com/docs/facebook-login/guides/access-tokens/>
- other: <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml>

## Quality

Score 78/100. Missing: second example, mapping (Wikidata, Schema.org, ...), translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/facebook_app_access_token.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/facebook_app_access_token.yaml>
