CData Python Connector for Facebook

Build 24.0.9060

Creating a Custom OAuth Application

Create a Custom OAuth Application

Creating a custom OAuth application for authenticating to Facebook involves obtaining the OAuth client credentials (App Id and App Secret), specifying a site URL for your application, and configure the OAuth redirect URI.

To obtain the OAuth client credentials:

  1. Login to Facebook.
  2. Navigate to https://developers.facebook.com/apps.
  3. Create a new application.
  4. Select Settings > Basic. The OAuthClientId (App Id) and the OAuthClientSecret (App Secret) display.
  5. Navigate to the Settings tab.
  6. To add a website platform, enter a Site URL.

To configure the OAuth redirect URI:

  1. Go to your application settings and navigate to the Products section.
  2. Add Facebook Login to the list of products.
  3. Navigate to the product settings, and set the OAuth redirect URI:

    • For desktop applications, set the redirect URI to https://localhost:33333/, or a similar https url.
    • For web applications, set the redirect URI to a location that shoud be used as a callback URL, where the user returns with the token that verifies that application access has been granted.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060