Using FBJS: FB.Connect.showPermissionDialog()

May 14, 2009 at 12:21 PM

I am trying to show a permission dialog using FBJS(?)
I am using FBML, not IFrame.

This is a part of my code:

<form ID="faceform" runat="server">   
       <asp:multiview ID="mvFacebook" runat="server">
                        <asp:View ID="viewPermission" runat="server">
                                 <script>
                                        FB.Connect.showPermissionDialog("email");
                            </script>
                        </asp:View>                       
        </asp:multiview>
</form>

So I chack in the codebehind if the user has the permission, if not I set mvFacebook.setActiveView(viewPermission);
But the dialog wan't show... What am I doing wrong?

Thanks

May 17, 2009 at 12:03 PM

Hi Engern,

I'm having the same issue. Did you get a solution with your pblem. If so, it would be great if you could post it.

 

Thanks !

Yann