Problem in Facebook Integration with Pega PRPC
Could anyone please help in generating authorization token while integrating Pega PRPC with facebook. I have tried with the below given URL but getting error.
"message": "Invalid redirect_uri: Given URL is not permitted by the Application configuration",
However, I was referring the given PDN article regarding integration with Facebook."https://pdn.pega.com/integration/how-to-post-updates-to-facebook-from-prpc" and followed the same approach.
PFA the error screen shot.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
1. I think the redirect_uri value is incorrect in your request. It doesn't match the URL you gave at the time of your Facebook app registration. To get the correct value of redirect_uri, login to https://developers.facebook.com/, navigate to your app by clicking My Apps link at the top. Click Settings on the left. You will find redirect_uri mentioned under Site URL field (see screenshot below).
2. You should always URL encode redirect_uri value. For example, in the above screenshot, my redirect_uri is https://foo.bar. So my authorization request should look like this:
Keep up to date on this post and subscribe to comments