estoy intentando "pescar" los likes de los usuarios de mi app para saber si una o varias de mis páginas en facebook está en lis "me gusta"
Actualmente, recojo con el API de facebook lo siguiente:
Código:
Para ello he solicitado: Array ( [id] => [name] => [first_name] => [middle_name] => [last_name] => [link] => [username] => [hometown] => Array ( [id] => [name] => ) [location] => Array ( [id] => [name] => ) [bio] => [work] => Array ( [0] => Array ( [employer] => Array ( [id] => [name] => ) [location] => Array ( [id] => [name] => ) [position] => Array ( [id] => [name] => ) [description] => [start_date] => ) [1] => Array ( [employer] => Array ( [id] => [name] => ) [location] => Array ( [id] => [name] => ) [position] => Array ( [id] => [name] => ) ) ) [education] => Array ( [0] => Array ( [school] => Array ( [id] => [name] => ) [year] => Array ( [id] => [name] => ) [type] => ) [1] => Array ( [school] => Array ( [id] => [name] => ) [year] => Array ( [id] => [name] => ) [type] => Graduate School [with] => Array ( [0] => Array ( [id] => [name] => ) ) ) ) [gender] => [email] => [timezone] => [locale] => es_ES [verified] => [updated_time] => )
Código:
Teóricamente para saber sus likes es 'user_likes', pero nada, no me funciona... $facebook->getLoginUrl(array( 'scope'=>'email','user_likes','publish_stream','offline_access','read_insights' ));
¿Alguien sabe porqué puede ser?
Muchas gracias!!!