OAuth Apps
Facebook Ads
This guide describes how to configure Facebook Ads OAuth for use with the valmi.io UI.
Setting Up Facebook Ads for OAuth
Step 1: Create a Facebook App
- Sign in to Meta for Developers: Visit the Meta for Developers and follow the instructions provided in the Facebook Documentation to create a Facebook app.
- Create New App: Click on “My Apps” > “Create App”.
- Enter App Details: Choose the appropriate platform (e.g., Web) and provide a name for your app (e.g., “valmi.io”).
- Create App: Click “Create App” to finish.
Step 2: Configure OAuth & Permissions
- 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.
Step 3: Add OAuth Redirect URI
- 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.
Step 4: Obtain App ID and App Secret
- App Dashboard: Navigate back to your app dashboard.
- App ID and App Secret: Your App ID and App Secret will be displayed on this page. Copy them for use in valmi.io.
Step 5: Configure Facebook Ads OAuth in valmi.io
- Access Configuration: In your application, navigate to the sidebar and select “CONFIGURE APPS”.
- Select Facebook Ads OAuth Application: Find the Facebook Ads OAuth application from the list of available applications and select it.
- Enter Credentials: Provide the Facebook App ID and App Secret that you obtained earlier into the input fields.
- Save Configuration: Click “Save” or “Update” to save the configuration.