Facebook App Test Environment → Production Migration

Asked 1 years ago, Updated 1 years ago, 76 views

In the test environment, the Facebook API was approved for review, so I plan to use it in the production environment, but I am having trouble with the error that the client OAuth setting has not been added to the whitelist.

For production use, visit developers.facebook.com for app information
The following items have been modified.

·Settings>Basic
Change App Domain to Production Domain
Change the URL of the privacy policy and the URL of the terms of use to the production domain
Change website URL to production domain

·Product Settings
Valid OAuth Redirect UR

The implementation of FB collaboration uses Facebook 4j.
The only difference from the test environment is the domain name, and the URL below the domain name is exactly the same, so
I'm at a loss what's wrong.

error message

URL is blocked: The redirect URI was not added to the whitelist in the application's client OAuth configuration and could not be redirected.Turn on client and web OAuth login and add all app domains as valid OAuth redirect URIs.

Tried
·Configuring a valid OAuth redirect URI on developers.facebook.com

java api oauth facebook

2022-09-30 16:11

1 Answers

Isn't the "valid OAuth redirect URI" in the Facebook client configuration mismatched with the "redirect_uri" parameter in the client's request?

For example, the client sends the same "redirect_uri" parameter as it did in the "test environment".


2022-09-30 16:11

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.