Auth Settings: Navigate to “Auth” from the left-hand sidebar in your app dashboard.
Redirect URLs: Add the redirect URL where Facebook will send users after authorization. Use the following format: https://host/api/oauth2/redirect/facebook-ads.
Scopes: Add the required OAuth scopes for your integration:
public_profile
ads_management
email
Save Changes: Click “Save” to save your OAuth settings.
Facebook Login: Navigate to “Products” > “Facebook Login” from the left-hand sidebar.
Settings: Click on “Settings” under Facebook Login.
Valid OAuth Redirect URIs: Add the redirect URI where Facebook will send users after authorization. Use the following format: https://your-host/api/oauth2/redirect/facebook-ads.
Save Changes: Click “Save Changes” to save your OAuth settings.