Facebook scrape page via api

First thing is get your app token. Check this page on how to get your access token . <?php $access_token = “{your app access token}”; $id = “page-to-scrape-again.html”; $params = array(“id”=>$id,”scrape”=>”true”,”access_token”=>$access_token); $ch = curl_init(“https://graph.facebook.com”); curl_setopt_array($ch, array( CURLOPT_RETURNTRANSFER=>true, CURLOPT_POST=>true, CURLOPT_POSTFIELDS=>$params )); $result = curl_exec($ch); That’s it.