The previous version of ImpSdk.social.shareFacebook (v.0.*) did not support inclusion of an image when sharing a link on Facebook. The revised method utilizes the latest version of Facebook SDK which provides this support and:
options object that has modified property names (listed below),callback function as a second parameter,options, callback)options object |
||
|---|---|---|
| required properties | Type | Description |
link |
string | The url/link to attach to the post (ie. campaign link). |
| optional properties | ||
picture |
string | The url of the image to attach with the post. If none is supplied, defaults to image based on meta data from the link being shared. |
name |
string | The headline/title for the link being shared. Defaults to meta data from shared link. |
description |
string | A description of the url being shared (appears beneath post headline). Defaults to meta data from shared link. |