Facebook basic functionalities in Phonegap using InAppBrowser