I added cordova inAppBrowser plugin and able to authenticate to facebook with target
'_blank' . When I set target to
'_system' (which is chrome browser for android) lost my connection between window reference and my controller so as expected I’m getting Web Page Not Available error for url
Also another problem with this login approach is it’s very ugly. Ionic framework provides very comfortable UI and feeling but InappBrowser login flow brakes this feeling. There must be a solution to use native Facebook SDK to feel more native.
I know about phonegap-facebook-plugin. Actually I couldn’t find any working example for it and its configuration made me scared.