Search code examples
facebookdialogfeed

Opening Facebook dialogue box in the same page


I have been trying to implement the Facebook Feed Dialog as follows

<a href="http://www.facebook.com/dialog/feed?app_id=12345678&redirect_uri=http://example.com&link=http://example.com&message=Hi+wassup!">

But the problem is it is opening the link in a page, rather than a pop up box. Pls help!


Solution

  • To do this as a dialog, you would need to use the Facebook Javascript SDK and call the FB.ui function using the 'feed' value for method.