> For the complete documentation index, see [llms.txt](https://lionstudios.gitbook.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lionstudios.gitbook.io/readme/detected-issues/facebook-client-token-empty-issue.md).

# Facebook Client Token Empty Issue

### Overview

The SDK Mismatch issue related to Facebook can occur when the credentials on the Lion portal do not include the necessary Client Token required for the Facebook SDK to function correctly. This issue is particularly relevant for older games on the Lion portal when the Facebook client token wasn’t a required parameter to have value, starting from version 15.0.0 of the Facebook Unity SDK, where the Client Token becomes essential for proper SDK integration and operation.

***

### Setup Wizard - “Fix It”

Pressing the "Fix It" button under the issue item in the Setup Wizard will:

1. **Client Token Popup Displayed**: A popup window will appear, prompting you to enter your Facebook Client Token. This token is crucial for the Facebook SDK to work correctly with the new SDK version requirements.

   ![](/files/rwq4oMkZiR6l9bGawW9d)
2. **Navigate to Your Facebook Application Page**: You will need to enter the Facebook Application page where your Client Token can be retrieved. Under the section,\
   `App Settings → Advanced → Security → Client Token` — this is where you will find the Client Token necessary for your application. Copy this token for the next step. Clicking the Facebook Developers Dashboard will take you to your app’s Facebook dashboard directly if you have access at:\
   [developers.facebook.com](http://developers.facebook.com)

   ![Facebook Client Token Screenshot](/files/7nQ509wz6DwZuw6PYfJ5)
3. **Insert Token and Press the Button**: Enter the copied Client Token into the popup and press the confirm or submit button. This action updates the Facebook SDK settings with the correct token, resolving the mismatch issue.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lionstudios.gitbook.io/readme/detected-issues/facebook-client-token-empty-issue.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
