Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i write this code
XML
<script>
     window.fbAsyncInit = function() {
         FB.init({
             appId: {app id}',
             xfbml: true,
             version: 'v2.0'
         });
         FB.login(function() {
             alert("api");
             FB.api('/me/feed', 'post', { message: 'Hello, good after noon friends...now time is 2:52PM!' }, callback);
         }, { scope: 'publish_actions', return_scopes: true });
     };


     (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";
         fjs.parentNode.insertBefore(js, fjs);
     } (document, 'script', 'facebook-jssdk'));
 </script>

 <div class="fb-like" data-send="true" data-width="450" data-show-faces="true">
 </div>



it was working nice but if i comment it is visible to me only not to my friends ...
can anyone plz help me that comment will visible to all of my friends...
what are the changes have to do this code...
Posted
Comments
CHill60 25-Jun-14 15:54pm    
What are the privacy settings on your account ... the "per-app post" setting

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900