$endpoint = "https://graph.facebook.com/503079043084210/albums?fields=id,name,count,type&access_token=EAAJuHG7gGZBMBAC0ZCYCJXxQBqB0uPfgskkq31mfHQrq46K7A2u12c7zI3d7UuDn3ZCstkcGgca4mygNYW4WyPPZBNe2gV9qzZC3tZCHh8LFMeRRhF36n7XsnMBB9VkekwhYyKZBZBAL2uworPTMRWx5ZBYZCQGhsdkiIZD" . urlencode($uri); $curlopts = array( CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4 ); $retval = http_get_contents($endpoint, $curlopts); $albums = json_decode($retval,true); $albums = $albums['data']; echo "

 

"; echo "

Fotos


"; echo "

"; echo ""; foreach ($albums as $row) { if ($row['type'] == 'normal') { echo ""; echo ''; } } echo '
'; function http_get_contents($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_TIMEOUT, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); if(FALSE === ($retval = curl_exec($ch))) { error_log(curl_error($ch)); } else { return $retval; } } ?>

Wir bedanken uns bei folgenden Firmen für Ihre Unterstützung:

Autohaus Raith GmbH