No help via support
I did it myself
Maybe someone will use it
CURL version if "file_get_content" does not work
private static function getFacebookLike($params){
$id = $params->get('facebook_url');
$appid = $params->get('appid');
$appsecret = $params->get('appsecret');
$ch = curl_init('https://graph.facebook.com/'.$id.'?access_token='.$appid.'|'.$appsecret.'&fields=likes');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$response = curl_exec($ch);
curl_close($ch);
$json_output = json_decode($response);
//Extract the likes count from the JSON object
$like_count = isset($json_output->likes) ? $json_output->likes : 0;
return $like_count;
}