I am developing a code where I am displaying some good tips in internet marketing at my site side bar...
I am using curl to open and parse some part of the page I like... the curl function work fine until find a facebook page that I want to parse. The problem is that it display blank page...
here is my code
I have using curl for one my application but I found this problem, that sometimes it does not get anything from the target page.... It display blank...
here is my code...
Code: Select all
$urls = "http://www.facebook.com/pages/Seo-Tips-by-Peter-Drew-BruteForceSEO/86945032176";
$ch = curl_init($urls);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt( $ch, CURLOPT_HEADER, 0 );
$page = curl_exec($ch);
curl_close($ch);
Thanks in advance