diff --git a/example.php b/example.php index 8b409b4..5d4cefd 100644 --- a/example.php +++ b/example.php @@ -18,7 +18,7 @@ $recent = $f->photos_getRecent(); -foreach ($recent['photo'] as $photo) { +foreach ($recent['photos']['photo'] as $photo) { $owner = $f->people_getInfo($photo['owner']); echo ""; echo $photo['title'];