用户希望将用户的目录作为链接,然后用户可以选择在册。 这将使他改头一页,并附上具体名称的所有照片。
This is the code where the titles are presented as links. It works fine but i don t know how to make the other page work with this and present the right pictures.
$albums = $facebook->api( /me/albums );
Foreach($albums[ data ] as $album)
{
print ( <a href= "albumPhotos.php"> .$album[ name ]. </a> . </br> ) ;
}
当时,《守则》一文介绍了用户的所有情况。 这是法典的缩略语。
$albums = $facebook->api( /me/albums );
foreach($albums[ data ] as $album)
{
$photos = $facebook->api("/{$album[ id ]}/photos");
foreach($photos[ data ] as $photo)
{
echo "<img src= {$photo[ source ]} />", "<br />";
}
}
请说一下我的劝说,一把一切! 如果有的话,请告诉我。