language: PHP (php 5.4.4)
date: 139 days 12 hours ago
link:
visibility: private
1
2
3
4
5
6
7
8
9
10
11
<?php
 
$access_token = "00000000000000|xxxxxxxxxxxxxxxxxxxxxxx"
$graph_url = "https://graph.facebook.com/martindalechristianfellowship/statuses?limit=10&access_token="
    . $access_token;
$page_posts = json_decode(file_get_contents($graph_url), true);
 
foreach($page_posts['data'] as $post){
    $message = $post['message'];
    $post_time = $post['updated_time'];
}