This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Twitter.
Summary
Initializes a new instance of the
TwitterProvider
class.
Creates an object for sending tweets to Twitter using Single-user OAuth.
Get your access keys by creating an app at apps.twitter.com then visiting the
"Keys and Access Tokens" section for your app. They can be found under the
"Your Access Token" heading.
- Assembly
- Cake
.Twitter .dll - Namespace
- Cake
.Twitter - Containing Type
- TwitterProvider
Syntax
public TwitterProvider(string consumerKey, string consumerKeySecret, string accessToken, string accessTokenSecret)
Parameters
Name | Type | Description |
---|---|---|
consumerKey | string | The Twitter Consumer Key. |
consumerKeySecret | string | The Twitter Consumer Key Secret. |
accessToken | string | The Twitter Access Token. |
accessTokenSecret | string | "The Twitter Access Token Secret. |
Return Value
Type | Description |
---|---|
void |