views:

40

answers:

1

Hi!

I have just developed a facebook application. Most of it works fine but the multi-friend-selector does not show up on internet explorer.

Although Firefox and Google Chrome working fine it does not appear on IE. Also there is not any error messages.

Here is my code for multi-friend-selector:

<?php
          // Prepare the invitation text that all invited users will receive.
          $content = "<fb:name uid=\"".$me."\" firstnameonly=\"true\" shownetwork=\"false\"/> <a href=\"http://apps.facebook.com/".$app_url."/\"&gt;".$app_name."&lt;/a&gt; is cool bla bla. \n".
                        "<fb:req-choice url=\"".$app_base . $app_url."/index2.php?firs=fb{$me["id"]}\" label=\" ".$app_name." Invite your friends!\"/>";



          ?>



    <fb:serverFbml style="width: 760px;" width="760px">
    <script type="text/fbml">
    <fb:fbml width="760px">

    <fb:request-form
            action="http://facebookAppUrl/&lt;? echo $invite_href; ?>"
            method="POST"

            invite="true"
            type="<? echo $app_name; ?>"
            content="<? echo htmlentities($content, ENT_COMPAT, 'UTF-8'); ?>">

            <fb:multi-friend-selector
                    actiontext="<? echo $app_name; ?>' invite your friends!"
                    exclude_ids="<? echo $friends; ?>"
                    style='width: 760px'
                    showborder="false"
                     />

    </fb:request-form>

    </fb:fbml>
    </script>
    </fb:serverFbml>

I have just checked all relevant posts in developer forums of facebook but no luck. I am not able to figure out whats wrong.

A: 

As it turned out the problem was in not including fb namespace tag:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"&gt;
serg
Again, thank you very much. IE and Safari needs namespace explicitly defined.
enesismail