title: Posting to facebook from json on google apps script
body: <p>i have de following .gs code</p>
  
  <pre><code>function updateStatus(){
  var myId="100006898720726";
  var myAppAccess_token="APP-ID|APP-SECRET";
  var graphUrl="https://graph.facebook.com/"+myId+"/feed";
  var theDate=new Date().toString();
  UrlFetchApp.fetch(graphUrl,{method:"post",payload:{
  message:"foo\n"+theDate,
  access_token:myAppAccess_token
  }});
  }
  </code></pre>
  
  <p>AND y have a JSON URL <a href="http://pipes.yahoo.com/pipes/pipe.run?_id=a6c5eeff220e55a4fe9607065384817a&amp;_render=json" rel="nofollow">http://pipes.yahoo.com/pipes/pipe.run?_id=a6c5eeff220e55a4fe9607065384817a&amp;_render=json</a> </p>
  
  <p>i want to publish to facebook every new item with description and link</p>
  
  <p>i've tried several ways but the google console always shows something wrong</p>
  
  <p>thanks in advance</p>