curl -X POST \
-F "id={object-url OR object-id}" \
-F "scrape=true" \
-F "access_token={your access token}" \
"https://graph.facebook.com"
<html itemscope itemtype="http://schema.org/WebPage" lang="ru-RU">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="#">
<link rel="pingback" href="#">
<title></title>
<link rel="author" href="#" />
<link rel="canonical" href="#" />
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,'script','https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '501918696809596');
fbq('track', 'PageView');
</script>
<!-- убрали отсюда noscript -->
<!-- End Facebook Pixel Code -->
<!-- остальные заголовочные теги -->
</head>
<body>
...
<!-- noscript должен находиться внутри тела документа -->
<noscript><img height="1" width="1" style="display:none"
src="#"
/></noscript>
$request = new FacebookRequest(
$session,
'GET',
'/me/picture',
array(
'type' => 'large',
'redirect' => 'false'
)
);
$response = $request->execute();
$graphObject = $response->getGraphObject();
/* handle the result */
GET https://graph.facebook.com/v2.10/me?fields=id,name&token=....
Access to the Public Feed API is restricted to a limited set of media publishers and usage requires prior approval by Facebook. You cannot apply to use the API at this time.