Testing PhoneGap integration with facebook javascript/web api