I believe this error happens to you because you are using the Facebook JavaScript SDK.
This SDK is meant for when the web resources are on a server:
- web sites or
- mobile web apps
The Facebook App requires an App Domain/Site URL that a site or mobile web app would have, but an Android app doesn't have a domain...
A Worklight Hybrid app with the Android environment, while using web resources, is not a "mobile web app", it's an app.
Thus, you should either use a Cordova plug-in that implements Facebook login across platforms (whichever is available by the plug-in), or use the Facebook SDK for Android.