Skip to main content

Setup

1

Get credentials

Go to the Facebook Developer Portal and create an app. Under Facebook Login > Settings, add your redirect URI:
Copy the App ID and App Secret from the app dashboard.
2

Configure

Environment variables

Scopes

Default scopes: email, public_profile To request additional data, pass a scopes array:
Facebook requires app review before requesting most extended permissions beyond email and public_profile.

Endpoints

Last modified on April 29, 2026