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
JJ781073.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif finishOAuth The finishOAuth method is called to finialize the authentication process
JJ781073.pubmethod(en-us,AX.60).gif 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
JJ781073.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif new Initializes a new instance of RetailMediaChannelTwitterConnection class.
JJ781073.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif 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.
JJ781073.pubmethod(en-us,AX.60).gif push The push method is called to post a message to the service
JJ781073.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif startOAuth The startOAuth method is called to initiate authentication process and retrieve intial set of OAuth parameters
JJ781073.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif uploadPhoto This method is not supported by Twitter.This method will return RecId of the supplied DocuRef record.
JJ781073.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
JJ781073.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::appendMap
JJ781073.pubmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::buildHomePageLink Builds a link to the users's timeline page given the id of the user
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::combineMaps
JJ781073.pubmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::construct Constructor for RetailMediaChannelTwitterConnector class
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::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
JJ781073.pubmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::extractErrorMessageFromWebResponse Looks for and extracts an error message from a web-response received from a Twitter's API call.
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::formatErrorMessage Formats error message. It will include errorDetail into the message if the parameter is not empty.
JJ781073.pubmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::formatErrorMessageFromWebResponse Formats error message. It will include errorDetail into the message if the parameter is not empty.
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::getConsumerKey
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::getConsumerSecret
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::getPageAccessToken
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::getSigningHeader
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::getUserAccessToken
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::saveAccountSettings
JJ781073.pubmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::urlEncode Encodes supplied text using Twitter supported URL encoding
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::urlEncodeParamsMap
JJ781073.privmethod(en-us,AX.60).gif JJ781073.static(en-us,AX.60).gif ::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