I have a Cordova 3.4.0 iOS 7 app using the official Facebook Connect plugin. It is great for embedded FB login / integration. If I manually call the FB.ui feed dialog through Javascript, it will also display a smaller layer on the screen with the parameters of the feed dialog or ask the user to enter if they did not.
The problem is the Like button, which I generate using HTML5 code, for example:
If I click on this Like button, it will open the full-screen FB login page, which completely cancels the current window of the Cordoba application and there is nowhere to return to. He takes care of the entire web view.
I can’t understand why this only happens with the Like button. I would suggest that his login dialog will also be the same as in the FB.ui small layered dialog. Is it somehow incompatible with the Facebook Connect plugin or with another user interface?
Can anyone advise how I can use the Facebook Like button in the Cordova + Facebook Connect plugin correctly?
Thank.
source
share