Dialog:feed

From Facebook Developer Wiki (FbDevWiki.com)
Jump to: navigation, search
Property Type Description Argument Possible Values / Examples
method String The UI dialog to invoke. Required 'feed'
name String Ex. 'Facebook Dialogs'
link URL parts of the feed story become links to this URL Ex. 'http://developers.facebook.com/docs/reference/dialogs/'
picture URL URL to image Optional Ex. 'http://fbrell.com/f8.jpg'
caption String Optional
description String
message String Message placed in textbox. Note: Facebook's policy is that you shouldn't pre-fill this field so you should probably avoid using it. Optional

Example JavaScript SDK feed dialog:

 FB.ui(
   {
     method: 'feed',
     name: 'Facebook Dialogs',
     link: 'http://developers.facebook.com/docs/reference/dialogs/',
     picture: 'http://fbrell.com/f8.jpg',
     caption: 'Reference Documentation',
     description: 'Dialogs provide a simple, consistent interface for applications to interface with users.',
     message: 'Facebook Dialogs are easy!'
   },
   function(response) {
     if (response && response.post_id) {
       alert('Post was published.');
     } else {
       alert('Post was not published.');
     }
   }
 );
Personal tools
Namespaces
Variants
Actions
Navigation
Graph API
FQL
Toolbox