Reputation: 4165
I have an iframe which contains the link as shown below:
<a href="javascript:void(0)" onclick="FB.ui({method: 'send', picture: pic, name: name, description : description , to: [xxxxxxxxxx],link:'http://link.com'}, function(response) {if (response) {alert('cool!')}})>Click me</a>
Any idea about how to make the FB.ui send dialog pop not in the iframe but in the parent window?
Thanks!
Upvotes: 0
Views: 5206
Reputation: 2156
There is a 'display mode' for FB.ui ,set it to what you want.For more details check, http://developers.facebook.com/docs/reference/dialogs/#display
Upvotes: 1