FB.ui stream.publish in an iframe application shows a popup instead of an iframe dialog
Posted
by
pasha
on Stack Overflow
See other posts from Stack Overflow
or by pasha
Published on 2010-05-01T12:33:35Z
Indexed on
2012/09/20
21:38 UTC
Read the original article
Hit count: 426
iframe-app
I am trying to show a "share" dialog using the following code, but it is displayed as a new window. This is an iFrame application inside Facebook. Does someone know how to make it show the "share" in a standard FB dialog iframe and not a new window?
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script type="text/javascript">
FB.ui({ method: 'stream.publish', message:'hello world'});
</script>
© Stack Overflow or respective owner