App Domain for Facebook integrated Android App - android

What should I enter for 'App Domains' in configuring my Facebook App ( developers.facebook.com)? I'm developing an Android App using Xamarin. I run the app in the Android SDK Emulator. There is no URL as near as I can tell.
Error: Given URL is not allowed by the Application configuration. One or more of the given URLs is not allowed by the App's settings. It must match the Website URL (What?) or Canvas URL (What? What?), or the domain must be a subdomain of one of the App's domains. (what? what? what?)
I'm running in an Emulator, which is the standard way to do development. There has to be a way to configure the Facebook API to accept my requests from the emulator. Anyone dealt with this problem before? Please help.

App Domain is not necessary/required, you can left it...!
Facebook sdk does not require the app domain and it works fine without it, But if you want to fill it, you can use the application's website domain address for example http://www.google.com .

Related

Facebook login not working on mobile (but works on desktop)

I have created a Facebook Login for my app, which is built in React.
The login works perfectly on desktop browsers (and when I use desktop mode on my phone).
The issue is that when I try to login on my phone I get the following error:
RL Blocked: This redirect failed because the URI is not whitelisted in the app's ...
Why is the URL for the mobile different than the desktop version AND how do set up my Facebook whitelisted sites?
I have printed the URL onto the screen (same on mobile and desktop). I have tested on android and on iPhone. Same error
I have read facebook developper docs - no luck.
You can whitelist a domain from your facebook page and facebook app.
For an app, you need to goto the app settings and put your url.
I got this type of error due to ad blocking feature in the mobile. Specially when the login window is a popup. I think this will be your problem too. Please check for it.
Just add isMobile={false} and everthing will work like a charm!

How to install and test Web#Work from MobileIron on Android?

I want to test my website on MobileIron's Web#Work browser on Android but cannot see it in the Android Market Place.
This previous question gave an answer for iOS (Web#Work is downloadable from the App Store):
How to test with Web#Work from MobileIron in a development environment?
How do you install Web#Work browser on Android?
And can it be used to browse to URLs directly without any special sign-in or registration, as it does on iOS.
Thanks.
Web#work can be installed from Apps#work screen in Mobile#work app if your admin has allowed you to install and access. Your admin can help by pushing that app to device by assigning a label and you can install the same from Mobile#work app on your device.
Second part of your question is related to authentication while accessing webpages. If your webpage doesn't have any authentication , Web#Work will not ask any credentials. If your webpage needs authentication , you can set up KCD with MobileIron to have seamless authentication. Please refer to the documentation for more detail.The below post capture few details:
MobileIron with sharepoint for authentication

Given URL is not allowed by the Application configuration in Eclipse Android app

I am using Facebook Login Button by Facebook Phonegap SDk in Android app.
I import Facebook Phonegap SDK as a library project in Eclipse.
I have done all the setting as per below link in www.developer.facebook.com
Given URL is not allowed by the Application configuration
When i run Android app in emulator,it display following error in console.
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains. at https://www.facebook.com/dialog/oauth?api_key=1234567890&app_id=1234567890&channel_url=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%23cb%3Df3832ed204%26origin%3Dfile%253A%252F%252F%252Ff8897604c%26relation%3Dparent.parent%26transport%3Dpostmessage&client_id=1234567890&display=none&domain&origin=2&redirect_uri=http%3A%2F%2Fstatic.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%23cb%3Df102b39294%26origin%3Dfile%253A%252F%252F%252Ff8897604c%26relation%3Dparent%26transport%3Dpostmessage%26frame%3Df155d614cc&response_type=token%2Csigned_request%2Ccode&sdk=joey:1
What might be the problem?
In the Advanced Settings-
Switch Embedded browser OAuth Login to YES
Add https://www.facebook.com/connect/login_success.html in Valid OAuth Redirect URIs field.

Facebook Javascript SDK and Phonegap URL error

I'm currently trying to develop a facebook login functionality using phonegap in an android app. I've done all the ncessary installs and generated an hash key for the app which I have placed on facebook but I keep getting the following error:
Given URL is not allowed by the Application configuration.: One or
more of the given URLs is not allowed by the App's settings. It must
match the Website URL or Canvas URL, or the domain must be a subdomain
of one of the App's domains.
I've had a look at the following link and done what the link suggested but I'm still getting the same error in the logcat console
The implementation which have you have used will be working for web application (running in browser). For native app, please follow this steps. Please let me.

Given URL is not allowed by the Application configuration Facebook Android

I'm developing a Facebook integrated Android app. I followed this tutorial to the dot. The problem is that I get the following error if the Facebook app is not installed on the device when logging in:
Given URL is not allowed by the Application configuration
I implemented Single Sign On as specified in the tutorial. If I run my app on a device with the Facebook app already installed, my app redirects to the Facebook app to sign in. That's fine. However, if the Facebook app is not installed, I get the error. Here's a snapshot:
which redirects to Web page not available on signing in:
Edit: I double checked the tutorial and saw this bit about filling a Mobile Web URL which I didn't follow. I'm not quite sure what to enter here. Any help?
Fixed it. Seems to have been a bug on Facebook's side. Using the updated repo from github solved the problem.

Categories

Resources