Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/10/2011, 16:27
elena_22
 
Fecha de Ingreso: junio-2010
Mensajes: 117
Antigüedad: 13 años, 11 meses
Puntos: 1
Respuesta: ayudita con aplicacion de facebook

Hola, yo estuve leyendo y escontré esta función en la parte de programacion mobile, no la he probado pero puedes checarla a ver si es lo que necesitas:

//Publish a story to the user's friend's wall
function publishStoryFriend() {
randNum = Math.floor ( Math.random() * friendIDs.length );

var friendID = friendIDs[randNum];

console.log('Opening a dialog for friendID: ', friendID);

FB.ui({
method: 'feed',
to: friendID,
name: 'I\'m using the Hackbook web app',
caption: 'Hackbook for Mobile Web.',
description: 'Check out Hackbook for Mobile Web to learn how you can make your web apps social using Facebook Platform.',
link: 'http://apps.facebook.com/mobile-start/',
picture: 'http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png',
actions: [{ name: 'Get Started', link: 'http://apps.facebook.com/mobile-start/' }],
user_message_prompt: 'Tell your friends about building social web apps.'
},
function(response) {
console.log('publishStoryFriend UI response: ', response);
});
}