I'm using Facebook Cordova plugin for my mobile app project. My problem is, how to open web link on mobile app browser, not Facebook in app browser that user already posted on Facebook? Below is my code for Facebook wall post sharing. It happened on iOS7, not iOS6.
function facebookWallPost() {
var params = {
method: 'feed',
name: 'Buzz Feed',
link: sessionStorage.targetLink ,
picture: sessionStorage.imageLink,
caption: sessionStorage.description,
description: 'Grab this item. Click to buy.'
};
console.log(params);
FB.ui(params, function(obj) {
console.log(obj);
});
}
What I want:
I don't want like this one:
What can I try next?
I ready found the answer. Using cordova inappbrowser plugin.