fork download
  1. <?php
  2.  
  3. $access_token = "00000000000000|xxxxxxxxxxxxxxxxxxxxxxx"
  4. $graph_url = "https://graph.facebook.com/martindalechristianfellowship/statuses?limit=10&access_token="
  5. . $access_token;
  6. $page_posts = json_decode(file_get_contents($graph_url), true);
  7.  
  8. foreach($page_posts['data'] as $post){
  9. $message = $post['message'];
  10. $post_time = $post['updated_time'];
  11. }
Runtime error #stdin #stdout 0.02s 13664KB
stdin
Standard input is empty
stdout
Parse error: syntax error, unexpected T_VARIABLE in /home/8jZmj3/prog.php on line 4