Facebook for Developers
Use a production app with a matching domain and privacy policy.
1. Create the application
- Open Facebook for Developers and create an app.
- Provide an app name, contact email and business/category details.
- In Settings → Basic, add your domain and privacy policy URL.
2. Add Facebook Login
- Add the Facebook Login product.
- Select Web as the platform and enter your HTTPS site URL.
- Save the product configuration.
3. Configure OAuth
In Facebook Login → Settings, add the exact
redirect URI shown in
PUBLIC_URL/video-admin/settings/login. The domain,
protocol and path must match.
4. Configure PlayTubeVideo
Open the Social Login Settings page in the admin panel, enable Facebook Login and paste the Facebook App ID and App Secret. Keep the secret server-side.
5. Switch to live mode
- Complete the required privacy policy, data deletion and app contact details.
- Request review for permissions beyond basic profile/email if Facebook requires it.
- Switch the app to Live only after testing the complete login flow.
- Verify a new user, returning user and rejected-permission flow.