jquery - facebook feed dialog to be popup -


i using below link share ruby on rails website content on facebook, need link popup , using display=popup documents says, doesnot popsups.

href="http://www.facebook.com/dialog/feed?app_id=xxxx&display=popup&redirect_uri=http://www.xy.com&name="some_text"&link=http://www.xy.com/&picture="logored.jpg"+&properties=&actions=" 

what else can try displaying link popup?

according this facebook dev page, should use facebook sdk javascript in order use modal iframe on webpage.

i've checked , should read too;

from: https://developers.facebook.com/docs/sharing/reference/share-dialog

if using url redirect dialog implementation, full page display, shown within facebook.com. display type called page.

if using 1 of our ios or android sdks invoke dialog, automatically specified , chooses appropriate display type device.

if using facebook sdk javascript, default modal iframe type people logged app or async when using within game on facebook.com, , popup window else. can force popup or page types when using facebook sdk javascript, if necessary.

mobile web apps default touch display type

in order that, add javascript sdk views/layouts/application.html.erb file after body tag. use sth want place dialog:

fb.ui({   method: 'share',   href: 'https://developers.facebook.com/docs/', }, function(response){}); 

Comments