I am trying to integrate Facebook and Salesforce using Force.com Facebook Toolkit, but I am getting the following error.

  "error": {
    "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
    "type": "OAuthException",
    "code": 191

Need Help.


1 Answer 1


Only two reasons:

1) You have assigned wrong redirect_uri in you facebook connected app so it doesn't match with the redirect_uri you have passed in parameter. Also take care of protocols like: https:// doesn't match with http://

2) Do not provide IP address or something which is different from standard domain name/address as redirect URI ex: won't work.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .