Getting Issue while connecting Facebook API in Maui App

I am getting an issue while login with FaceBook from Maui application using WebView. I’m trying to login using the example from this tutorial https://developers.facebook.com/docs/facebook-login/login-flow-for-web

But getting this error

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App’s settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App’s domains.

according to the Manual of developers.Facebook/docs redirect url should be https://www.facebook.com/connect/login_success.html and also i had set this url (Under Products in the App Dashboard’s left side navigation menu, click Facebook Login, then click Settings. Verify the Valid OAuth redirect URIs in the Client OAuth Settings section) as mentioned but here it gives me a warning as This cant be facebook url.

I tried the https://developers.facebook.com/docs/facebook-login/guides/advanced/manual-flow these steps mentioned in the Manual, but getting the same issue.

  • Where is the code that generates the error?

    – 

Leave a Comment