I used FB.ui to create a share dialog. Here my coffeescript code:
FB.ui
method: "feed"
link: "facebook.com"
, (response) ->
if response and response.post_id
console.log("shared")
It works well on desktop browser and android but it doesn't work well on IOS (Safari & Chrome).
Problem is:
when i didn't sign in my facebook account and then I click share, it will redirect to new tab and request to login, after that I can share.
but when my facebook account sign in ready and then I click share, it doesn't show share dialog. it show only blank page.
Anyone ever meet this? How can I solve this???