Facebook

All the invocation attributes related to the Facebook app require a Facebook account to be set up on the device.

Sharing text with Facebook

Here are the invocation attributes you use to share text with Facebook:

Attribute Value
Target ID

Facebook

Action

bb.action.SHARE

MIME type text/plain
URI data://
Data Text string to be shared

Sharing media with Facebook

Here are the invocation attributes you use to share media (pictures and video) with Facebook:

Attribute Value
Target ID

Facebook

Action

bb.action.SHARE

URI file:///path/to/content.png
File extensions .gif, .jpeg, .jpg, .png, .psd, .tiff, .tif, .3g2, .3gp, .3gpp, .asf, .avi, .dat, .flv, .m4v, .mkv, .mod, .mov, .mp4, .mpe, .mpeg4, .mpg, .nsv, .ogm, .ogv, .qt, .tod, .vob, .wmv
MIME type MIME type can specified in the following format: image/gif, image/jpeg, video/mov, video/mpeg4, and so on

Sharing a URL with Facebook

Here are the invocation attributes you use to share a URL with Facebook:

Attribute Value
Target ID

Facebook

Action

bb.action.SHARE

URI http://, https://