{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-agen-for-work/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["Notification","LightboxImage"]},"type":"markdown"},"seo":{"title":"Facebook integration","siteUrl":"https://developers.frontegg.com/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"facebook-integration","__idx":0},"children":["Facebook integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integrating Facebook with Frontegg lets your application authenticate users with their Facebook account and read profile and page data through the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/docs/graph-api/"},"children":["Meta Graph API"]},". You configure the integration by creating a Meta for Developers app with the Facebook Login use case, then providing the App ID, App secret, and Frontegg redirect URL."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Prerequisites","type":"attention"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/"},"children":["Meta for Developers"]}," account."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://business.facebook.com/"},"children":["Meta Business Portfolio"]}," to associate with the app (you can also create one during app creation)."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"create-a-meta-app","__idx":1},"children":["Create a Meta app"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-1-open-the-meta-for-developers-apps-page","__idx":2},"children":["Step 1: Open the Meta for Developers apps page"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sign in to the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/apps/"},"children":["Meta for Developers apps page"]}," with your Facebook account. Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create App"]}," to start the app creation flow."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-1.1bfb9183e1bfb0eb5a54f652722adcc5414ae46db6ae72de462dac502cf0eaae.1ce25488.png","alt":"Meta for Developers Apps page with Create App highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-2-add-app-details","__idx":3},"children":["Step 2: Add app details"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enter an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App name"]}," (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Frontegg Social Connector"]},") and confirm the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App contact email"]},". Meta uses this email for policy notifications, so set it to an address you check regularly. Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"."]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"App name restrictions","type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Meta does not allow app names that contain reserved brand terms like ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FB"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Face"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Book"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Insta"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Gram"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Rift"]},". Choose a neutral name (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Frontegg Social Connector"]},") instead."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-2.fafd64be25a0a1df91899c527ccf1d269a394c2152dd7aeb08091ce40bfa77e8.1ce25488.png","alt":"App details step with Next highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-3-select-the-facebook-login-use-case","__idx":4},"children":["Step 3: Select the Facebook Login use case"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use cases"]}," step, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authenticate and request data from users with Facebook Login"]},". This is the standard use case for OAuth integrations that need to read user profile and email. Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-3.40c6b2328e65067a77e116058548217f074d71b85d00c5b1d01d2ba623c81dc5.1ce25488.png","alt":"Use cases step with Authenticate and request data from users with Facebook Login highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-4-connect-a-business-portfolio","__idx":5},"children":["Step 4: Connect a Business Portfolio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Business"]}," step, choose the Business Portfolio that will own this app, then click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},". You can connect an unverified portfolio now and complete business verification later when you submit for App Review."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-4.6a4458522b1f9e6647b8af00962689ca2f4d1649c1e6f398e97e5d75ae6f9cbc.1ce25488.png","alt":"Business portfolio selection step with Next highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-5-review-and-create-the-app","__idx":6},"children":["Step 5: Review and create the app"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]}," through the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Requirements"]}," step, review the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Overview"]},", then click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create app"]},". Meta may ask you to re-enter your Facebook password to confirm."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-5.b3e9168faeb671aea1ccf8b92e06143ef85f4fe2809661f931f668d46ee53778.1ce25488.png","alt":"Overview step with Create app highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"copy-the-credentials","__idx":7},"children":["Copy the credentials"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-6-find-the-app-id-and-app-secret","__idx":8},"children":["Step 6: Find the App ID and App secret"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the app dashboard, navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App settings → Basic"]},". The top of the page shows the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App secret"]},". Copy the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App ID"]}," — this is your Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]},". Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Show"]}," next to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App secret"]},", re-enter your Facebook password when prompted, and copy the value — this is your Frontegg ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-6.35c447f857f2e98cb3f237367f189b96ddffd773680151a555509b9f87dcd02f.1ce25488.png","alt":"App settings Basic page with App ID and App secret highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configure-permissions","__idx":9},"children":["Configure permissions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-7-add-the-required-facebook-login-permissions","__idx":10},"children":["Step 7: Add the required Facebook Login permissions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use cases → Customize"]}," on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authenticate and request data from users with Facebook Login"]}," tile. On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Permissions and features"]}," tab, click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]}," next to each permission you need. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["public_profile"]}," is granted to every app by default, so at minimum add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The integration uses the following scopes:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Scope"},"children":["Scope"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["public_profile"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read the default public profile fields on the user node. Granted by default."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read the user's primary email address."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_show_list"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List the Facebook Pages the user manages."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_read_engagement"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read page engagement data and posts."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_manage_posts"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Publish, edit, and delete posts on a Page."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_read_user_content"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read user-generated content on a Page (comments, ratings)."]}]}]}]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Pages scopes require additional use cases","type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pages_*"]}," scopes are not part of the Facebook Login use case. To request them, click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add more to this use case"]}," and add the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Manage everything on your Facebook Page"]}," use case, then add the page permissions from its ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Permissions and features"]}," tab."]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Standard access requires App Review","type":"attention"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Permissions are initially ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Ready for testing"]}," — they work only for users assigned to the app under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App roles → Roles"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test users"]},". To grant access to any Facebook user, submit your app for ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/docs/app-review/"},"children":["App Review"]}," and request ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Standard access"]}," for each scope."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-7.0e12dfd5db1405c403c4ca419a75113d27592adb1f8d5c738f5d5011bdf87df9.1ce25488.png","alt":"Permissions and features tab with email and public_profile highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configure-the-redirect-url","__idx":11},"children":["Configure the redirect URL"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-8-add-the-frontegg-redirect-url","__idx":12},"children":["Step 8: Add the Frontegg redirect URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the same ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Customize use case"]}," view, open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings"]}," tab. Scroll to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Valid OAuth Redirect URIs"]}," and add your Frontegg redirect URL:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://YOUR_MCP_GATEWAY_URL/integration-callback"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["YOUR_MCP_GATEWAY_URL"]}," with the MCP Gateway URL from the Frontegg portal ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Basic configuration"]}," page. Press ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Enter"]}," to add the URI as a chip, then click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save changes"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-8.47731134b422732df88e872993adc9ae20444852c25a0beaded848ddf0d3a8a2.1ce25488.png","alt":"Facebook Login Settings page with Valid OAuth Redirect URIs and Save changes highlighted"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"verify-the-oauth-flow","__idx":13},"children":["Verify the OAuth flow"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-9-preview-the-consent-screen","__idx":14},"children":["Step 9: Preview the consent screen"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open the Facebook OAuth dialog in a new tab to confirm that the redirect URL, App ID, and scopes are wired correctly:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"https://www.facebook.com/v24.0/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=https://YOUR_MCP_GATEWAY_URL/integration-callback&response_type=code&scope=public_profile,email\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Facebook should display a consent screen titled \"Frontegg Social Connector is requesting access to:\" listing ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name and profile picture"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Email address"]}," — this is the screen end users see when authorizing the integration."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/facebook-9.33b855b981fb2ba545175bf305267b4298d9540267f55b31fc6f7c2d7f6af7cc.1ce25488.png","alt":"Facebook OAuth consent screen showing the requested permissions"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configure-the-frontegg-portal","__idx":15},"children":["Configure the Frontegg portal"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once you have your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App ID (Client ID)"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["App secret (Client Secret)"]},", enter them in the Frontegg portal:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Frontegg portal"]}," and navigate to [ENVIRONMENT] → Integrations → Facebook."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]}," in the corresponding fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the required ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["scopes"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When a user authorizes the integration, Facebook prompts them to log in and grant the requested permissions to your app."]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Keep your credentials secure","type":"attention"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never share or commit your App secret to version control."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"additional-resources","__idx":16},"children":["Additional resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/docs/facebook-login/"},"children":["Facebook Login documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/docs/graph-api/"},"children":["Meta Graph API documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/docs/permissions/"},"children":["Permissions reference"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/docs/app-review/"},"children":["Meta App Review process"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developers.facebook.com/apps/"},"children":["Meta for Developers apps page"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/agen-for-work/connectors/redirect-url"},"children":["How to get your Redirect URL"]}]}]}]},"headings":[{"value":"Facebook integration","id":"facebook-integration","depth":2},{"value":"Create a Meta app","id":"create-a-meta-app","depth":3},{"value":"Step 1: Open the Meta for Developers apps page","id":"step-1-open-the-meta-for-developers-apps-page","depth":4},{"value":"Step 2: Add app details","id":"step-2-add-app-details","depth":4},{"value":"Step 3: Select the Facebook Login use case","id":"step-3-select-the-facebook-login-use-case","depth":4},{"value":"Step 4: Connect a Business Portfolio","id":"step-4-connect-a-business-portfolio","depth":4},{"value":"Step 5: Review and create the app","id":"step-5-review-and-create-the-app","depth":4},{"value":"Copy the credentials","id":"copy-the-credentials","depth":3},{"value":"Step 6: Find the App ID and App secret","id":"step-6-find-the-app-id-and-app-secret","depth":4},{"value":"Configure permissions","id":"configure-permissions","depth":3},{"value":"Step 7: Add the required Facebook Login permissions","id":"step-7-add-the-required-facebook-login-permissions","depth":4},{"value":"Configure the redirect URL","id":"configure-the-redirect-url","depth":3},{"value":"Step 8: Add the Frontegg redirect URL","id":"step-8-add-the-frontegg-redirect-url","depth":4},{"value":"Verify the OAuth flow","id":"verify-the-oauth-flow","depth":3},{"value":"Step 9: Preview the consent screen","id":"step-9-preview-the-consent-screen","depth":4},{"value":"Configure the Frontegg portal","id":"configure-the-frontegg-portal","depth":3},{"value":"Additional resources","id":"additional-resources","depth":3}],"frontmatter":{"category":"Social Media","seo":{"title":"Facebook integration"}},"lastModified":"2026-05-29T13:43:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/agen-for-work/connectors/marketplace/facebook","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}