Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Posts a message on Twitter.
The message is built by concatinating the _message parameter, the _linkUrl, if it is not empty, and by attaching optional image passed via the _picture parameter
Syntax
server private static str doPush(
RecId _settingsRecId,
RetailCommonWebAPI _webApi,
str _message,
str _linkUrl,
RetailMediaFileDescription _picture)
Run On
Server
Parameters
- _settingsRecId
Type: RecId Extended Data Type
The RecId of the connector settings record
- _webApi
Type: RetailCommonWebAPI Class
The web API
- _message
Type: str
The text of the message
- _linkUrl
Type: str
The optional URL to append to the message text
- _picture
Type: RetailMediaFileDescription Class
The optional image
Return Value
Type: str
The ID of the posted message, if successfuly. Empty string, otherwise.