Tuesday, 18 November 2014

how to enable facebook comment in android app

<!DOCTYPE html>
    <html>
    <style = text/css>
     img {
          width:100%!important;
          height:auto!important;
         } 
     iframe {
          width:100sp;
          max-height:100sp;
          } 
     a { 
          color:#3366CC; 
          text-decoration: none; 
       } 
     </style> 
     <body style = 'line-height:25px;' >
       <script>
       (function(d, s, id) 
       { 
        var js, fjs = d.getElementsByTagName(s)[0];
         if (d.getElementById(id)) return; 
         js = d.createElement(s); 
         js.id = id; 
         js.src = '//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=576245362521056&version=v2.0'; 
         fjs.parentNode.insertBefore(js, fjs);
         }
         (document, 'script', 'facebook-jssdk'));
        </script>
      "+c+" 
     <div id=\"fb-root\"></div> 
     <div class=\"fb-comments\" data-href=\""+p+"\" data-numposts=\"5\" data-colorscheme=\"light\">                                                    </div>
      </body>
    </html>

No comments:

Post a Comment