what type of feed is this and how do I do it

Oct 9, 2009 at 2:27 AM

can someone tell me what type of publish this is and more importantly how to make it work. I have part of it working. I'm able to add an image but I can't figure out how to get the text beside it to show up (see image). I'm using this code:

 

 

<script>
var attachment = {'media':[{'type':'image','src':'URL','href':'APPURL'}]};
Facebook.streamPublish('==text here shows beside user picture==', attachment);
</script>


I want to put some text where "static text here...." is

 

Oct 12, 2009 at 12:20 PM

You can make things simple  and spare your time with Facebook Visual Kit:

http://vatlab.com/Content/index.php?option=com_content&view=article&id=5:front-page&catid=4:tools&Itemid=18

 

Oct 12, 2009 at 1:15 PM

Thanks vatra, but I can't justify paying for an app I won't make money from

Oct 24, 2009 at 8:14 PM

Espero esto te sirva!!! ;)

-------------------------------------------------------------------------------------------------------------------------

<script>

var attachment ={'name':'Google','href':'http://www.google.com/','caption':'esto es un caption de {*actor*}','description':'Google Home Page','media':
[{'type': 'image',
'src': 'http://icanhascheezburger.files.wordpress.com/2009/03/funny-pictures-kitten-finished-his-milk-and-wants-a-cookie.jpg',
'href': 'http://icanhascheezburger.com/2009/03/30/funny-pictures-awlll-gone-cookie-now/'},
{'type': 'image',
'src': 'http://photos.icanhascheezburger.com/completestore/2009/1/18/128768048603560273.jpg',
'href': 'http://ihasahotdog.com/upcoming/?pid=20869'}] };

var actionLinks = [{ 'text': 'Watch Video', 'href': 'http://www.myvideosite/videopage.html'}];

Facebook.streamPublish('El mensaje 1', attachment, actionLinks, null, 'Que piensa de esto');
('publish_stream', null, 1, [154949484606]);

</script>

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 Resultado: (Result)

http://img198.imageshack.us/img198/7772/imagenfb.gif

Oct 24, 2009 at 8:56 PM

¡eso es grande! ¡gracias!