From a9eda199b6e3a39f759806fa1c3e52b69be84838 Mon Sep 17 00:00:00 2001 From: Sadee Date: Thu, 12 Mar 2015 16:28:03 +0000 Subject: [PATCH] $recent['photos']['photo'] photos_getRecent() out put is array['photos']['photo']=array() --- example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];