Añadir cuenta de facebook en plantilla smarty
AUTOR PREGUNTA #1
-
¿Tienes la misma pregunta? Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
public static function fbcount($idpage){
$ch = curl_init("[url="http://graph.facebook.com/$idpage"]http://graph.facebook.com/$idpage[/url]");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$raw = curl_exec($ch); curl_close($ch);
$data = json_decode($raw);
return $data->likes; }