Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/09/2010, 12:31
Avatar de RIVERMILLOS
RIVERMILLOS
 
Fecha de Ingreso: marzo-2010
Mensajes: 1.336
Antigüedad: 14 años, 2 meses
Puntos: 15
ayuda con api de facebook

hola quiciera saber porque esto no me funciona

Código:
<?php
include 'FB/connect/facebook-client/facebook.php';
include 'conf.php';

$facebook = new Facebook($appapikey, $appsecret);
$user_id = $facebook->require_login();

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        $user_det = $facebook->api_client->users_getInfo($user_id, 'first_name,pic_square');
        echo  $user_det[0]['first_name'];
        $links_post = $facebook->api_client->links_post('http://blog.ikhuerta.com','Este blog deberías leerlo todos!!!',$user_id);
  
        ?>
    </body>
</html>
me sale este error en el navegador

Call to undefined method FacebookRestClient::links_post()

que puede ser?