lomse
lomse

Reputation: 4165

FB.ui send Send dialog

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

Answers (1)

Soojoo
Soojoo

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

Related Questions