Click or drag to resize
TwitterHelperGetTwitterUserId Method
Retrieves the Twitter user identifier for the specified credentials, and returns it.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
public static string GetTwitterUserId(
	string consumerKey,
	string consumerSecret,
	string accessToken,
	string accessTokenSecret
)

Parameters

consumerKey
Type: SystemString
The consumer key that will be used for authentication.
consumerSecret
Type: SystemString
The consumer secret that will be used for authentication.
accessToken
Type: SystemString
The access token that will be used for authentication.
accessTokenSecret
Type: SystemString
The access token secret that will be used for authentication.

Return Value

Type: String
The Twitter user identifier for the specified credentials.
See Also