Bonjours a tous,
voila, j'essaye de faire marcher ce script mais j'obtient une erreur en permanence =/

Notice: Undefined property: stdClass::$story in ..etc

un peut d'aide =D, voici le code

<?php 
$page_id = 'YOUR_PAGE_ID';
$access_token = 'YOUR_ACCESS_TOKEN';
//Get the JSON
$json_object = @file_get_contents('https://graph.facebook.com/' . $page_id . 
'/posts?access_token=' . $access_token);
//Interpret data
$fbdata = json_decode($json_object);

foreach ($fbdata->data as $post )
{
$posts .= '<p><a href="' . $post->link . '">' . $post->story . '</a></p>';
$posts .= '<p><a href="' . $post->link . '">' . $post->message . '</a></p>';
$posts .= '<p>' . $post->description . '</p>';
$posts .= '<br />';
}
//Display the posts
echo $posts;
?>


lien original: http://johndoesdesign.com/blog/2011/php/adding-a-facebook-news-status-feed-to-a-website/