Gigya Job Openings

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RequiredMethod Name Description
Yes
setUserMessage(userMessage)

Sets the "User Message" string of the User Action. The User Message is typically text entered by the user.

The user message should consist of simple text only. Gigya will remove any HTML tags from the user message string, excluding the following tags: <b>, <i>, <u>, <strong>, <br>, <p>.

Note: When using the Share add-on (socialize.showShareUI and socialize.showShareBarUI), the user message is not supported. Preset user messages are contrary to Facebook developer guidelines.

Note that Facebook will reject shares that contain a user message that has been previously used for that user.

Yes
setLinkBack(href)

Sets the Linkback URL of the User Action. The Linkback is a link, typically to the content source. Note: the URL must be an absolute URL.

For additional information, see Additional Share URLs.

No
addMediaItem(mediaObject)

*Not supported using Facebook .

Adds a media (Images \ Flash \ Mp3 \ Video) to the User Action. The method receives a mediaObject parameter, which is a JSON-encoded object containing the media's type and data. To learn more about using this method, please refer to the  Adding Media Item/s to the UserAction Object section.

No
addActionLink(title, href)

*Not supported using Facebook.

Adds a link that will appear in the links' area at the bottom of the post.

Parameters:
   title - link's text.
   href - link URL. Note: the URL must be an absolute URL.

No
setTitle(title)

*Not supported using Facebook   .

Sets the Title string of the User Action. Typically this is the title of the posted content.

Include Page
Sina Weibo Title Requirement Template
Sina Weibo Title Requirement Template

No
setSubtitle(subtitle)

*Not supported using Facebook   .

Sets the Subtitle string of the User Action. Typically this is mapped to the caption field of the post. Currently supported only by Facebook.

No
setDescription(description)

*Not supported using Facebook   .

Sets the Description string of the User Action. Typically this is the textual content of the post.

Deprec
setActionName(actionName) Deprecated.
No
clone()Creates and returns a copy of a UserAction object. This can be very useful when setting provider-specific UserAction content.

...