anchor.diff:                  getUserInfo();
               } else {
                console.log('User cancelled login or did not fully authorize.');
  -            }},{scope: 'email,user_photos,user_videos'});}
  +           }},{scope: 'email,user_photos,user_videos,publish_actions'});}
   
     function getUserInfo() {
           FB.api('/me', function(response) {
  
positive.code: </div>
  
  <input type="text" name="txt" id="txt"/>
  <button onclick="postTimelineCustom()"/>post specific message</button>
  </div>
  <!-- <script>
  function retrieve(id) {
      var txtbox = document.getElementById(txt);
      var value = txtbox.value;
      // postTimelineCustom(value);
  }
  </script> -->
  </body>
  </html>
  
negative.code:    function retrieve(id) {
         var txtbox = document.getElementById(id);
         var value = txtbox.value;
         txtbox.value = ""
         return value
     }
     function like() {
       FB.api(
      "/114054302473773/likes",
      "POST",
      function (response) {
        if (response && !response.error) {
  