Quantcast
Channel: Facebook Dialog Feed (display parameter not working) - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Andy for Facebook Dialog Feed (display parameter not working)

$
0
0

I thought I had this issue for quite a while before I discovered that display=popupdoes not open the dialog as a popup, rather it formats the dialog so that it looks good in a popup.

I ended up using Javascript to open it in a new window - something like this:

window.open("http://www.facebook.com/dialog/feed?app_id=264179898666332&display=popup&redirect_uri=http://mysite.com/&message=I use Mysite!","My Window Name", "height=236, width=516");

You will notice that if you now switch the display between display=popup and display=page, the popup formatting looks much better than the page formatting if you're displaying it in a new window.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>