Oppure

Loading
16/10/13 14:22
giocala88
Salve ragazzi come da titolo ho un problema con le API di fb, in particolare vorrei invitare i miei amici direttamente attraverso un iframe e non
popup.
Con questo codice non risolvo un caiser, in quanto mi esce una pagina bianca. Consigli? Sbaglio qualcosa? Qualcuno saprebbe indicarmi qualche esempio concreto? Grazie

 <html>
 <head>

 <style type="text/css">
 body {
 width:520px;
 margin:0; padding:0; border:0;
 }
 </style>
<meta name="description" content="Examples for the Facebook Platform." />
<meta name="keywords" content="facebook, connect, facebook connect, javascript, examples, javascript sdk, javascript library, library, howto, tutorial, api, facebook api, authorization, xfbml, fbml, xfbml tags, fbml tags, facebook platform, facebook rest api, graph, facebook graph api, facebook graph api examples, facebook old rest api, facebook sdk" />
<meta property="fb:admins" content="5526183" />
<meta property="fb:app_id" content="164816366901242" />
<meta property="og:image" content="https://fbrell.com/logo.jpg" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://fbrell.com/" />
 </head>
 <body>
<div id="fb-root"></div>
 <script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
  FB.init({
    appId  : 'xxx',
    status : true, // check login status
    cookie : true, // enable cookies to allow the server to access the session
    xfbml  : true,  // parse XFBML
    channelUrl: 'http://fbrell.com/channel.html'
  });
</script>
   

        
       <fb:serverfbml width="520">
 
 <script type="text/fbml">
   
 <fb:request-form action="http://fbrell.com/echo"

                     method="POST"
               
      invite="true"
                  
   type="Echo Type"
                
     content="Echo Content. 
<fb:req-choice url='http://fbrell.com/echo?choice=echo' label='Echo Label' />">
   

   <fb:multi-friend-selector showborder="false"
                 
               bypass="cancel"
                               
               cols=4
                   
             actiontext="Echo Action Text" />
    
     </fb:request-form>
  
</script>


</fb:serverfbml>


 </body>
 </html>
 
aaa