1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15:
<?php $albums = $facebook->api('/13245005674/albums?access_token='.$session['access_token']); $photos = $facebook->api('/13336713486/photos?access_token='.$session['access_token']); ?> <h3>Albums</h3> <pre><?php print_r($albums); ?></pre> <h3>Photos</h3> <pre><?php print_r($photos); ?></pre> <h3>Picture</h3> <?php foreach ($photos as $photo) { echo "<img src=\"{$photo['picture']}\">\n"; } ?>