Class Index | File Index

Classes


Class fsw.stream

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

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
fsw.stream.post(opts, callback)
Post to current user's wall/stream
Class Detail
fsw.stream()
Method Detail
<static> fsw.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 Thu Oct 13 2011 20:27:20 GMT-0400 (EDT)