> For the complete documentation index, see [llms.txt](https://docs.wepin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wepin.io/en/login/social-login-auth-providers/facebook.md).

# Facebook

### Supported Login Packages

Facebook login can be integrated and used with the Wepin Login Library. Refer to the documentation for the login library for each SDK.

{% hint style="info" %}
All social login authentication providers compatible with Wepin support Simplified Login. If you wish to implement Simplified Login, please refer to the [Simplified Login page](/en/login/simplified-login.md).
{% endhint %}

<table><thead><tr><th width="275">Platform</th><th>Login Package</th></tr></thead><tbody><tr><td>Web</td><td><a href="/pages/xBL0tt8ARCHKOR0Wk0NG">@wepin/login-js</a></td></tr><tr><td>Flutter</td><td><a href="/pages/Q2Rq2J3U3qyZWhwKLqsa">wepin_flutter_login_lib</a></td></tr></tbody></table>

### Registering Login Providers

{% hint style="info" %}
To enable social login for mobile applications, you must register the login providers in the Workspace. For web environments or when implementing Simplified Login, Workspace registration is not required.
{% endhint %}

1. In the [Wepin Workspace](https://workspace.wepin.io/workspace), navigate to the **Login** tab under the **Development Tools** menu.
2. In the Login tab, click the **Set Login Provider** button.

<figure><img src="/files/9c7L2a0TdNyDWx8DzKS2" alt=""><figcaption></figcaption></figure>

3. After verifying the information in the [Meta Developers](https://developers.facebook.com/apps), enter the **App ID** and **App Secret Code** values into the workspace.

<figure><img src="/files/pbFlcjESosDAihlZWFpe" alt=""><figcaption></figcaption></figure>

4. Once all the required information is entered and the Redirect URL is generated, refer to [Facebook APIs](https://developers.facebook.com/docs/development/create-an-app/facebook-login-use-case) to register the Redirect URL with the OAuth Provider.
