| |||
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); }); } |
Etiquetas: |