I’m making a Flash game which will be up on Facebook, I’m using Python/Django on the backend but to talk to Facebook. I use the Facebook Flash API. The problem is when I ask for extended permission from the user, using FBML. I get a link which I have to click and get the permission. How can I make sure a popup appears instead of the link. I’m using the following code.
<fb:prompt-permission perms="publish_stream">permission</fb:prompt-permission>
in the FBML it makes a link out of it, I wanted it to be a popup box instead of a simple link, how can I solve it?
You should use the Facebook Javascript API. There is a function in it called FB.Connect.showPermissionDialog(perms) that does exactly what you’re looking for.
http://developers.facebook.com/docs/?u=facebook.jslib.FB.Connect.showPermissionDialog