프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CalculateAuthSignature | string | ||
CheckApiKey | void | ||
CheckRequiresAuthentication | void | ||
CheckSigned | void | ||
ConvertNonSeekableStreamToByteArray | byte[] | ||
CreateUploadData | byte[] |
메소드 | 설명 | |
---|---|---|
CalculateUri ( string>.Dictionary |
Calculates the Flickr method cal URL based on the passed in parameters, and also generates the signature if required.
|
|
FlushCache ( ) : void |
Clears the cache completely.
|
|
FlushCache ( |
Clears the cache for a particular URL. The URL can either be an image URL for a downloaded picture, or a request URL (see LastRequest for getting the last URL). |
|
FlushCache ( string url ) : void |
Clears the cache for a particular URL. The URL can either be an image URL for a downloaded picture, or a request URL (see LastRequest for getting the last URL). |
|
OAuthCalculateAuthorizationUrl ( string requestToken, AuthLevel perms ) : string |
Returns the authorization URL for OAuth authorization, based off the request token and permissions provided.
|
|
OAuthCalculateSignature ( string method, string url, string>.Dictionary |
Calculates the signature for an OAuth call.
|
|
OAuthCalculateSignatureForCalls ( string method, string url, string>.Dictionary |
||
OAuthGetAccessTokenAsync ( |
Returns an access token for the given request token, secret and authorization verifier.
|
|
OAuthGetAccessTokenAsync ( string requestToken, string requestTokenSecret, string verifier ) : Task |
For a given request token and verifier string return an access token.
|
|
OAuthGetBasicParameters ( ) : string>.Dictionary |
Returns a new dictionary containing the basic OAuth parameters.
|
|
OAuthGetBasicParameters ( string>.Dictionary |
Populates the given dictionary with the basic OAuth parameters, oauth_timestamp, oauth_noonce etc.
|
|
OAuthGetRequestTokenAsync ( string callbackUrl ) : Task |
Get an OAuthRequestToken for the given callback URL. Specify 'oob' as the callback url for no callback to be performed. |
|
Twitter ( ) : System |
Constructor loads configuration settings from app.config or web.config file if they exist.
|
|
Twitter ( string apiKey ) : System |
Create a new instance of the Flickr class with no authentication.
|
|
Twitter ( string apiKey, string sharedSecret ) : System |
Creates a new instance of the Flickr class with an API key and a Shared Secret. This is only useful really useful for calling the Auth functions as all other authenticationed methods also require the API Token.
|
|
Twitter ( string apiKey, string sharedSecret, string token ) : System |
Create a new instance of the Flickr class with the email address and password given
|
메소드 | 설명 | |
---|---|---|
CalculateAuthSignature ( string>.Dictionary |
||
CheckApiKey ( ) : void | ||
CheckRequiresAuthentication ( ) : void | ||
CheckSigned ( ) : void | ||
ConvertNonSeekableStreamToByteArray ( Stream nonSeekableStream ) : byte[] | ||
CreateUploadData ( Stream imageStream, string fileName, string>.Dictionary |
public CalculateUri ( string>.Dictionary |
||
parameters | string>.Dictionary | A Dictionary containing a list of parameters to add to the method call. |
includeSignature | bool | Boolean use to decide whether to generate the api call signature as well. |
리턴 |
public static FlushCache ( |
||
url | The URL to remove from the cache. | |
리턴 | void |
public static FlushCache ( string url ) : void | ||
url | string | The URL to remove from the cache. |
리턴 | void |
public OAuthCalculateAuthorizationUrl ( string requestToken, AuthLevel perms ) : string | ||
requestToken | string | The request token to include in the authorization url. |
perms | AuthLevel | The permissions being requested. |
리턴 | string |
public OAuthCalculateSignature ( string method, string url, string>.Dictionary |
||
method | string | POST or GET method. |
url | string | The URL the request will be sent to. |
parameters | string>.Dictionary | Parameters to be added to the signature. |
tokenSecret | string | The token secret (either request or access) for generating the SHA-1 key. |
리턴 | string |
public OAuthCalculateSignatureForCalls ( string method, string url, string>.Dictionary |
||
method | string | |
url | string | |
parameters | string>.Dictionary | |
tokenSecret | string | |
리턴 | string |
public OAuthGetAccessTokenAsync ( |
||
requestToken | ||
verifier | string | |
리턴 | Task |
public OAuthGetAccessTokenAsync ( string requestToken, string requestTokenSecret, string verifier ) : Task |
||
requestToken | string | |
requestTokenSecret | string | |
verifier | string | |
리턴 | Task |
public OAuthGetBasicParameters ( ) : string>.Dictionary |
||
리턴 | string>.Dictionary |
public OAuthGetBasicParameters ( string>.Dictionary |
||
parameters | string>.Dictionary | Dictionary to be populated with the OAuth parameters. |
리턴 | void |
public OAuthGetRequestTokenAsync ( string callbackUrl ) : Task |
||
callbackUrl | string | The callback Uri, or 'oob' if no callback is to be performed. |
리턴 | Task |
public Twitter ( string apiKey ) : System | ||
apiKey | string | Your Flickr API Key. |
리턴 | System |
public Twitter ( string apiKey, string sharedSecret ) : System | ||
apiKey | string | Your Flickr API Key. |
sharedSecret | string | Your Flickr Shared Secret. |
리턴 | System |
public Twitter ( string apiKey, string sharedSecret, string token ) : System | ||
apiKey | string | Your Flickr API Key |
sharedSecret | string | Your FLickr Shared Secret. |
token | string | The token for the user who has been authenticated. |
리턴 | System |