Posting flash media in Facebook status Version-1
Content is free. When you buy through links on my site, I may earn affiliate commission. Learn More.
image,
flash,
music;
these media types render photos, Flash objects, and music, respectively.
Code for image attachment:
http://www.facebook.com/connect/prompt_feed.php?api_key=332746204541&target_id=882a8490361da98702bf97a021ddc14d &attachment= {"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" }] }
check out more using flash media type and music media type from here, Facebook developers
you can create your own code just put that after, http://www.facebook.com/connect/prompt_feed.php?api_key=332746204541&target_id=882a8490361da98702bf97a021ddc14d &attachment=
** Update you status with bold text :
http://www.facebook.com/connect/prompt_feed.php?api_key=882a8490361da98702bf97a021ddc14d&attachment={"name":"your bold text here"}
just change the text from above code
Attributes are used withing code :
&target_id : your targeted id
find more attirbutes from here, Parameters
text code use with caption and name :
<tt> Teletype text </tt>
<i> Italic text </i>
<b> Bold text </b>
<big> Big text </big>
<small> Small text </small>
use this code within &caption and &name
Use FBML code inside the parameters:
fb:captcha
fb:live-stream
fb:editor-textarea
fb:editor-button
fb:editor-date
and many more find from here, comments Xfbml
use this fbml code within name or caption parameter
like :
{'caption':'<fb:editor-date label="Field 2 - Date" name="field2" value="682448400" />'}
or
{'name':'<fb:editor-text label="Field 1 - Text" name="field1" />'}
Example code using all fbml ,html and streaming media :
http://www.facebook.com/connect/prompt_feed.php?api_key=e0d658ffa2319ec95c53aa085626af74 & attachment={ 'caption':'<center><fb:editor-date label="Field 2 - Date" name="field2" value="682448400" /></center><br>', 'description':'<center><fb:editor-textarea label="Field 3 - TextArea" name="field3" rows="3" /></center><br> <center><fb:editor-buttonset><fb:editor-button value="Submit"/> <fb:editor-cancel value=" Cancel" /></fb:editor-buttonset></center>', 'name':'<center><fb:editor-text label="Field 1 - Text" name="field1" /></center><br>', 'media': [{'type': 'image', 'src': 'http://creative.ak.fbcdn.net/v565063/flyers/71/63/1333310937665220638_1_a1d63d06.jpg', 'href': 'http://www.facebook.com/'}]} &target_id=
No comments: