RetailMediaChannelTwitterConnector Class [AX 2012]
Implements RetailMediaChannelConnector intefrace to allow setting up a link, post messages and upload supplimentary images to Twitter
Syntax
class RetailMediaChannelTwitterConnector implements RetailMediaChannelConnector
Run On
Called
Methods
| Method | Description | |
|---|---|---|
![]() |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
![]() |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
![]() |
finishOAuth | The finishOAuth method is called to finialize the authentication process |
![]() |
getLoginURl | The parmLoginURI method is called to get the URI to direct the user to to sign in and grant the access to the application |
![]() |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
![]() |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
![]() |
new | Initializes a new instance of RetailMediaChannelTwitterConnection class. |
![]() |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
![]() |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
![]() |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
![]() |
owner | Returns the instance that owns the object. (Inherited from Object.) |
![]() |
processLoginResponse | This method is called when user is signing in and the web-browser detects new pages opened, This mau be used to check if the page opened is the final page in the sign in process. |
![]() |
push | The push method is called to post a message to the service |
![]() |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
![]() |
startOAuth | The startOAuth method is called to initiate authentication process and retrieve intial set of OAuth parameters |
![]() |
toString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
uploadPhoto | This method is not supported by Twitter.This method will return RecId of the supplied DocuRef record. |
![]() |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
![]() |
wait | Pauses a process. (Inherited from Object.) |
![]() |
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
![]() |
::appendMap | |
![]() |
::buildHomePageLink | Builds a link to the users's timeline page given the id of the user |
![]() |
::combineMaps | |
![]() |
::construct | Constructor for RetailMediaChannelTwitterConnector class |
![]() |
::doPush | 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 |
![]() |
::extractErrorMessageFromWebResponse | Looks for and extracts an error message from a web-response received from a Twitter's API call. |
![]() |
::formatErrorMessage | Formats error message. It will include errorDetail into the message if the parameter is not empty. |
![]() |
::formatErrorMessageFromWebResponse | Formats error message. It will include errorDetail into the message if the parameter is not empty. |
![]() |
::getConsumerKey | |
![]() |
::getConsumerSecret | |
![]() |
::getPageAccessToken | |
![]() |
::getSigningHeader | |
![]() |
::getUserAccessToken | |
![]() |
::saveAccountSettings | |
![]() |
::urlEncode | Encodes supplied text using Twitter supported URL encoding |
![]() |
::urlEncodeParamsMap | |
![]() |
::urlEncodeTwitter |
Top
Remarks
This connector class implements 3-leg authentication process.
See the RetailMediaChannelConnector class for more information on authentication.
Inheritance Hierarchy
Object Class
RetailMediaChannelTwitterConnector Class
.gif)
.gif)