TwitterHelperGetTwitterUserId Method |
Retrieves the Twitter user identifier for the specified credentials, and returns it.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 12.0.0
Syntaxpublic 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:
StringThe Twitter user identifier for the specified credentials.
See Also