Facebook API - OAuth issue changes - facebook

Ok, I am looking to make some updates to my (running for some months now) Facebook app. I have a test app I created for it for it. The appId and appSecret are set correctly. I have put the domain of my test server into "App Domains". I have added my IP address to the "Server IP Whitelist." I am currently logged into Facebook as the app owner. But I am getting the dreaded:
URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.
I can find no place on the App management screens that reference OAuth - I haven't looked here for a long time, because the app has been running well.
At this point, all I'm trying to do is get the Login button to show, hoping
that getting past that will set me up.
Any ideas? Suggestions?
thanks...

Related

On Mobile Login : Can't Load URL: The domain of this URL isn't included in the app's domains

I always get this error when I try to login in my application, which uses facebook login on my phone, however my app links perfectly fine on my computer, just not on my phone.
I believe it may have something to do with the facebook login being a new pop-up page on computers, whereas on mobile its loaded as a page.
I have tried everything and the errors will alternate between:
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.
and
URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web OAuth logins are on and add all your app domains as valid OAuth redirect URIs. (which I able to login but the app fails to go to my main page which then gives this error)
depending on whether I leave the "Valid OAuth ReDIRECT Urls" section blank.(till this point I have tried all posisble redirect urls I can think of, but its no use) I have also enabled client and web oauth login and login from devices.
The Url error is of no help, which is just the error:
https://m.facebook.com/dialog/oauth?client_id=xxxxxxxxxxxx&redirect_uri=https%3A%2F%2Fxxxxxxxxxxx.azurewebsites.net%2F%3Fcode%3DAQBuiSRMjQ3Cpsy4SClqCyzTU9ReSvOTynI67PNIBAI0kmj1qLDb5poUzVEZSlPtUjnQ_TpXTvS7yggVJpnZiVuP6tcp4kyD3EYfjc-_5g9bSNBdUDnjixB4AufqfbYiQD6pHlRR3qhkDoOXrL56WfP7WlA0a_OZ4Me8BqfrmDd6tLuqIezi4IE-88QljOdDtekKed9z-AQuakSKty1Zu8ER91Ie3iCLBG8Fd7CczXFJkJm6aLB29QjWTC3HTPWIsknNSl_O93urR8ChochH2ANuN2hYLUD8SH6SDVYS0q4oN3_OLqqdToYwWWoZwzjop0OcWq6xiDzb5_CXnapPsP78%26state%3Dfacebookdirect%23_%3D_&state=facebookdirect&return_scopes=false&scope=public_profile%2Cemail&response_type=code&auth_type

Facebook Login - URL Blocked - Can't add new redirect URI's

I have a website that uses the Facebook Login feature successfully and it still works as we speak. But I want to use the same facebook app on another website using the same keys etc...
But for some reason, even though I have added the correct URI's into the OAuth part of the Facebook page, I still get:
URL blocked: This redirect failed because the redirect URI is not
white-listed in the app's client OAuth settings. Make sure that the
client and web OAuth logins are on and add all your app domains as
valid OAuth redirect URIs.
Does anyone have any ideas on where I can start to find out why Facebook isn't accepting these new urls?
Okay, it seems to be working now - perhaps was a timing issue which was wierd because it updated straight away on previous sites.
Thanks again for the help though WizKid!

Login with facebook - Insecure Login Blocked

I know that this question have been asked before, but my scenario is a bit different. I'm trying to implement login with facebook feature into my website, which has SSL, but when I attempt to login I get an error message:
Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://
Ideas?
This solution was tested on a django application using Facebook OAuth
NOTE
my site already had SSL and is accessible via https
But when trying to login using Facebook OAuth i get the above error (Insecure Login Blocked)
My Solution
all i had to do was to set ( this configuration is done within application setting :: settings.py )
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
helpful link
which literally means
use *https* instead of the default *http* when trying to login using social account e.g Facebook
Then i also set Valid OAuth Redirect URIs on facebook login settings to https://redirect_url.com
For non django application
If you're not using django, i believe there should be a base configuration file, where all your configurations for the application are done (it might be same file where you've configured your application to use social authentication).
Whatever library you're using to enforce social authentication, search for how you can allow redirect to be done via https instead of the default http and then add it to your application's configuration file.
I hope this helps someone save some time

Unable to Login to Facebook for Developers

I don't use Facebook, so I had to create an account in order to integrate a Facebook Login into our project. I setup the developer account and took down the App Id and App Secret. The response when I try to connect to Facebook currently is:
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.
So I would like to try updating the domains listed. However when I attempted to login I was prompted to provide a picture of myself (which I did) then given this message:
You Can't Log In Right
Now Thanks for sending your photo. We'll get in
touch with you soon after we've reviewed it. Right now, your account
has been disabled as a security precaution.
No timeline, no further information. Any ideas?
Facebook cleared me for access, without notification.

Facebook Login Integration Error:

I'm working with a contest platform and am trying to get it to where and individual can create an account via Facebook.
The biggest issue I'm running into is that whenever I enter the domains into the App Domains portion I receive this:"App domains must match the domain of the Secure Canvas URL, Mobile Site URL, Unity Binary URL, Site URL, or Secure Page URL. Please correct these domains:"
Additionally, when I attempt to test the Facebook login button, I receive this error message in the pop-up:"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."
I've inquired with the Support Team from the contest platform and was informed of this:
"We had the Engineers look at this issue on your site and it looks like the configuration in facebook might not be correct.
What you need to make sure of is that facebook login authentication is enabled for the Website (Web) then only it will work.
The app domain:------
Contact email: your email address
Then in the Website section
Site url:------"
I can't seem to locate where the "Site URL" section is that I need to be putting in a url. I've put in the OAuth Client Redirect URLs...maybe they aren't correct?
Need some major help here.