Need help with enabling facebook comments plugin on Cordova platforms

I am trying to enable facebook comments plugin for mobile app. In order to enable the comments box I installed particle4dev-facebook and codrdova-facebook plugins. I added facebook plugin HTML and javascript code to the app.

The facebook comments plugin shows up fine on mobile app. But, when I click on login link facebook page replaces the mobile app.

Has anyone encountered this issue before?

If so can you please let me know how you worked around the problem.