Commands‎ > ‎

FEED2

Description

Add a short story to your news feed with optional picture.

Parameters

 1 (required) Text Feed Title. It is designed to be like a status update, and so you may want to add an action verb.  The text can include <a href=> type links.
 2 (required) Text Feed Body. The text can include some basic HTML, including:
  • <b> (bold)
  • <i> (italic)
  • <br> (line breaks)
  • <a href=...> (links)
 3 (optional) Image URL Feed Image. An optional image to accompany your feed story.
 4 (req'd if 3) URL Feed Link. This is required if a Feed Image is specified.  It is the URL to visit if the image is clicked.

See the syntax page and the parameter defaults page for information on setting your default parameters.

Output

The following sample shows how a FEED2 story will appear on your page: (without image)

The following sample shows how a FEED2 story will appear on your page: (with image)

Preferences

See the general preferences page for a list of preferences that apply to all (or most) commands.

Notes

  • Facebook seems to prefer the newer (POST / POSTIMG) method of publishing stories, but they currently still publish short stories to the stream (but the "message/status" field is blank).
  • The one advantage FEED2 has the single advantage over (POST / POSTIMG)  is that the body text supports some html tags (ie: links).
  • FEED2 requires extended PUBLISH permissions: click (here) to grant fbcmd the PUBLISH permissions

Examples

fbcmd FEED2 "This is a FEED2 Title" "This is the FEED2 Body"

fbcmd FEED2 "This is a FEED2 Title" "This is the FEED2 Body" "http://example.com/image.jpg" "http://www.google.com"

fbcmd FEED2 "still likes FEED2 posts" "because you can <b>bold</b> text and post <a href='http://www.google.com>links</a>."
Comments