Facebook Api Integration for Social Lead Freak - facebook

I'm total newbie in fb marketing, first time tried to create fb app to integrate it in social lead freak and social interest freak. I followed this tutorial but I got the error code:
{
"error": {
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration",
"type": "OAuthException",
"code": 191
}
}
Why is this going wrong?

This problem is related to your App configuration inside FB platform - as mentioned in other questions:
Given URL is not allowed by the Application configuration Facebook application error
Try to check at Settings > Advanced. At Valid OAuth redirect URIs, make sure you have a correct domain or let it empty (not recommended)
Facebook login "given URL not allowed by application configuration"
Your settings must be incorrect.
Go to http://www.facebook.com/developers/ and edit the application you're working on.
On the "website" tab, look for "Site URL". This should be set to your website's URL "http://yoursite.com/"
Note that if you're using subdomains, you'll also need to update "Site Domain" to be "yoursite.com"

Related

Facebook app login error - Can't Load URL: The domain of this URL isn't included in the app's domains

We're getting the following error when a user tries to use one of our facebook apps. This is a long established app that was working normally until recently. I just became aware of the problem today. I confirmed the correct domain is in place in the Domains field in app settings. You can see the error here by clicking on one of the image map buttons https://www.facebook.com/LesherCenter/app/602128116556236/
Anyone have any ideas what the problem is?
"error": {
"message": "Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.",
"type": "OAuthException",
"code": 191,
"fbtrace_id": "CwaEPJ4+X8p"
}
I found the solution need to add "https://apps.facebook.com/" in Valid OAuth redirect URIs under https://developers.facebook.com/apps/your-app-id/fb-login/settings/. Issue came up as we were preparing for the forced strict mode coming next month. Even though it is not yet enabled its blocking that domain

Facebook Connect error code 191

I've looked and tried so many things but unfortunately I have been unsuccessful in fixing the Facebook Connect on my forum (IP.Board 3.4). It worked before but for some unknown reason stopped working. Now I get an error (code 191)... I'm pretty sure I've got everything set up properly. I was hoping the Stack Overflow community could help me out. Here is the full error message being displayed when someone tries to register using FB:
{
"error": {
"message": "Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.",
"type": "OAuthException",
"code": 191,
"fbtrace_id": "G9FSrFXlu0Y"
}
}
Screen 1
Screen 2
Thank you for your time and help!
For login via the website platform, you need to add an according Valid OAuth Redirect URI. (Because in that case, the address will not be apps.facebook.com/something)
The Valid OAuth Redirect URIs field must contain the exact value of the redirect_uri parameter in your login dialog call.

Gigya Integration Help Needed

I am trying to develop a new site using gigya for facebook integration
for that i have created a facebook application
then updated my gigya settings like app id and secret id
Grabbed the facebook login plugin code used in my html/jsp, and I am seeing the ‘facebook’ button on the jsp page
When I click on the ‘facebook’ button, its opening a new window and connecting to facebook, but I am seeing below error consistently
{
"error": {
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
"type": "OAuthException",
"code": 191
}
}
My environment information given below:
Using JBoss App Server
I have a host name like local.test.me [updated my host file]
I accessed the page like http://local.test.me:8080/test.html
did i miss something??
Gigya has documentation about this:
http://developers.gigya.com/display/GD/Facebook
And other posts in SO here:
Facebook login "given URL not allowed by application configuration"

"message": "Invalid redirect_uri:"

So a few months ago my facebook app worked, and now I get a:
{ "error": { "type": "OAuthException", "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration." }
So I googled about that, and read that the cause might be that I didn't specify a site domain in the app settings. So I did that, but Facebook told me that this won't work unless I also specified a website or mobile device adress. But up to now I had this just set as App and neither Website nor mobile thingy. So now I also have to check "website" in addition to "application?" This is confusing.
Anyway, so I thought "whatever" and set it also as website in the app settings. But I still get the same error.
I read something about a channel file? So I have to create one of those or something?
I'm lost and thankful for any advice.
This error is almost always when you're trying to redirect the user to a URL other than your app or website, check that you're actually redirecting them to the correct place

login with facebook connect

I'm trying to add facebook oauth to my website. The "login with facebook" button hits the following URL
https://graph.facebook.com/oauth/authorize?client_id=292861684087978&redirect_uri=http://localhost:8080/foobar/register/facebookLoginHandler&scope=user_about_me,email
When the button is clicked I get the error message:
{
"error": {
"message": "Invalid redirect_uri: Given URL is not permitted by the application configuration.",
"type": "OAuthException"
}
}
So it seems like facebook doesn't like my redirect_uri. I've registered my app with the following settings on facebook:
App Domain: foobar.ie
Site URL: http://www.foobar.ie
Obviously while I'm testing locally, the redirect_uri doesn't correspond to my registered domain, but my understanding is that facebook always allows localhost:8080 for the purpose of testing?
I havent managed to get it working with localhost URLS. What I do is add an entry in my hosts file and then give facebook the mapped url.
You wont be able to use the URL Debugger for testing Open Graph stuff, but you'll be able to view the canvas of your app - apps.facebook.com/your_app for testing purposes as the canvas apps are run in an iFrame and calls to it originate from the client machine therefore going through the hosts file. You'll have to update every (tester's) computer's hosts file for them to be able to view your locally developed app.