I searched about the problem and i found two similar posts but there is no a solution. I'm not a php expert, so i ask your help.
$opts = array('http'=>array(
'header'=>"User-agent: Chrome/[url removed, login to view]\r\n" //.
//"Cookie: " . $_SERVER['HTTP_COOKIE']."\r\n"
$content=(file_get_contents("[url removed, login to view]", false, stream_context_create($opts)));
$doc = new DOMDocument();
$element = $doc->getElementById('pagelet_timeline_main_column');
You will see the last echo only prints the "pagelet_timeline_main_column" div code and not the his content. I actually know how to use facebook api, so that is no my intention i want to display the albums on my site.
Does anyone knows how to parse it correctly?