function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TerriKTerriK 

Facebook - Invalid redirect_uri Given URL is not allowed by the Application configuration

Hello All,

 

I attempted to follow all of the directions outlined in Getting Started with the Force.com Toolkit for Facebook, Version 3.0 (Installed from GitHub). 

 

I receive an "Invalid redirect_uri: Given URL is not allowed by the Application configuration." error when I attempt to navigate directly to the FacebookSamplePage.  Type of error is an OAuthException.  The error code is 191.

 

However, I receive an is "under construction" page when I navigate directly to the site.

 

Has anyone seen this error and been able to resolve it successfully?

 

I've confirmed my site settings, remote site settings, Facebook Apps record, Facebook App configuration, and system admin profile. 

 

I did notice some of the setup screen captures in the instructions were slightly different than the current Facebook App Setup and Facebook App Salesforce record.

 

Thank you in advance for your assistance.

__sandra____sandra__

Hello Terrik,

 

I am facing the same issue..

 

did you get to resolve it?

 

__sandra____sandra__

I found the solution :

 

In the Facebook app configration screen , you should set the app Domain,such as :

 

my-shop-developer-edition.na12.force.com

RamsRams

Hi Sandra,

 

where should i find this app domail url. i have tried with salesforce  domain in facebook it does not accept. Please help me...

 

Thanks

__sandra____sandra__

Rams,

 

What is you site URL? (the site you built with force.com sites)

RamsRams

Hi,

 

This is my site url http://lakshmi-developer-edition.ap1.force.com/page.

 

Thanks,

Rams

__sandra____sandra__

This is what you shoul fill in the domain information

 

 

lakshmi-developer-edition.ap1.force.com

RamsRams

Hi Sandra,

 

Now it is accepted and working when click on the site url it redirect to face book login. After login with facebook credentials, it will shows the error as

 

https://lakshmi-developer-edition.ap1.force.com/page/ is under construction 

Stay tuned. Please email us if you need to get in touch.

 

Can you please help me.

 

Thanks,

Rams

__sandra____sandra__

Rams,

 

this is what happened to me too...

 

 

brdbrd

Hi,

 

i am facing the same issue..have you got  the solution to this issue.

Himanshu MaheshwariHimanshu Maheshwari
Hi Sandra/Rams,

I am also facing problem. have you got any solution for this. Please Help