I am using R studio server and trying to connect to facebook API using library fbRads.
Now, I am opting for out of band authentication to generate oauth_token for the reason mentioned here on this official link by Rstudio:
it finally asks me to point the browser to this url and then enter the authorization code:
Please point your browser to the following url:
Enter authorization code:
In browser window, I get the error:
The redirect_uri URL is not supported
Then I tried doing the same thing on local and I get the same error on local as well.
If I do not opt for out of band authentication on local, it works just fine but I essentially need to work it out with out of band authentication.
How do I fix this on server?