I'm trying to use Facebook Login for Business to attempt and get a valid oauth token for an app I am building.
When I run through the flow myself, as the app owner, everything works perfectly. But anyone else gets the error in the title.
Things I have done to try and fix this:
Is there anything else I can do to try and make sure this works?
Example of the url I am generating to redirect the user:
https://www.facebook.com/v18.0/dialog/oauth?client_id=<client id>&redirect_uri=<redacted>&scope=instagram_basic,pages_show_list,instagram_content_publish,pages_manage_posts,pages_read_engagement,business_management&response_type=code&state=<base64 encoded state object>&config_id=<valid login config id>
Ok so I did get this working. It's somewhat unclear how.
The only thing I did differently this time is after going live, I went to the Graph API tester (https://developers.facebook.com/tools/explorer/) and actually tried to generate an app-level token for my new app (I started the app from scratch).
And to be specific, I tried it before the app was live, got an error, then marked the app live. I want to be specific in the steps because I don't actually understand what caused this to work.
This caused me to go through the oauth flow with the same user as before (the one that always worked) but somehow after this other users were also able to go through the flow.
Could be that somehow this tells Facebook to mark the login configuration as active? Or maybe there was actually a bug and they fixed it in the time since I tried last.