Class Index | File Index

Classes


Class stream

Stream module. Handles stream interactions, such as posting to Wall.
Defined in: fsw.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
stream()
Method Summary
Method Attributes Method Name and Description
<static>  
stream.post(opts, callback)
Post to current user's wall/stream
Class Detail
stream()
Method Detail
<static> stream.post(opts, callback)
Post to current user's wall/stream
Parameters:
{Object} opts Optional
Options for customizing the wall post
{String} opts.title Optional
Title of the post. Defaults to blank.
{String} opts.subtitle Optional
Subtitle of the post
{String} opts.link Optional
The link attached to this post. Must be within your app's domain.
{String} opts.description Optional
App-supplied text to appear in the post. Defaults to blank. If no link and no media, description will not appear.
{String} opts.media Optional
URL of media to display with the post. FB will try to pull an image from linked page if this is missing. If you pass a swf, you must also pass a thumbnail image in comma-separated format, eg "http://domain/movie.swf, http://domain/image.jpg"
{String} opts.action Optional
Comma-separated pair of verb and link, eg "action,http://www.example.com" Link must be within your app's domain, and name becomes lowercase alphanumeric.
{Function} callback Optional
Function to call after user sends or cancels post. Returns null on user cancel, post id on user send.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Aug 16 2011 22:07:52 GMT-0400 (EDT)