Đã Đóng

Facebook Album Parse HTML PHP

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');

echo ($doc->saveHTML());


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?

Kĩ năng: Quảng cáo trên Facebook, HTML, PHP

Xem nhiều hơn: pagelet_timeline_main_column, api facebook php album, m.facebook com, help php, user agent, parse, parse html, parse and, html php, facebook header, album a, php album, chrome html, chrome cookie, parse array php, chrome expert, chrome method, html parse php, chrome facebook, posts facebook api, php parse array, parse array, parse php, php html display, php parse site

Về Bên Thuê:
( 0 nhận xét ) Montevideo, Uruguay

ID dự án: #1642622

2 freelancer đang chào giá trung bình $30 cho công việc này


I'm a PHP expert. If you want my help, I will do my best to solve the problem

$30 USD trong 1 ngày
(1 Nhận xét)

Please check the PMB

$30 USD trong 1 ngày
(0 Nhận xét)