In one of my Web App, I have to integrated Facebook Share Feature. It is working fine for normal Web APP. Following is the code:
FB.ui({
method: 'feed',
name: "App Name",
link: "App Links",
description: "My Description",
picture: "image",
show_error: true,
display: 'popup'
},
function (response) {
console.log(response);
}
);
It is properly sharing my content to Facebook, however in iPhone, when I select web app to Add To Home Screen, and then try to share link from the app added in home screen, it is giving error of 104.
I have attached screenshot for reference
Any idea, how can I resolve this issue or if I am missing something?
Thanks for your time.

Finally able to resolve this using URL Redirection as described here:
So here is my code.
I first determine if app is standalone or now and accordingly use the corresponding code
Hope it helps someone.