$profile_feed= $facebook->api("/me/feed?limit=4" . $access_token );
foreach($profile_feed['data'] as $profile_feed) {
echo "<p> " . $profile_feed['id'] . "</p>";
echo "<p> " . $profile_feed['message'] . "</p>";
}
答案 0 :(得分:0)
这是你想要做的吗? :
$profile_feed= $facebook->api("/me/feed?limit=4" . $access_token );
foreach($profile_feed['data'] as $data) {
echo "<p> " . $data['from']['name'] . " with ID " . $data['from']['id'] . "</p>";
echo "<p> " . $data['message'] . "</p>";
}