C# Class ApexLumia.Twitter

Afficher le fichier Open project: ApexHAB/apex-lumia Class Usage Examples

Méthodes publiques

Méthode Description
Twitter ( string user, string consumerkey, string consumersecret, string accesstoken, string accesssecret ) : System

Constructor: Set important info.

newStatusAsync ( string tweet, string latitude = "", string longitude = "" ) : void

Async: Post a new tweet to the previously defined twitter account.

Private Methods

Méthode Description
generateAuthorizationHeader ( string url, string method, string>.Dictionary otherparams ) : string

Generate the OAuth HTTP Authorization header for twitter requests

Method Details

Twitter() public méthode

Constructor: Set important info.
public Twitter ( string user, string consumerkey, string consumersecret, string accesstoken, string accesssecret ) : System
user string Twitter Username
consumerkey string Twitter App Consumer Key
consumersecret string Twitter App Consumer Secret
accesstoken string Twitter User Access Token
accesssecret string Twitter User Access Token Secret
Résultat System

newStatusAsync() public méthode

Async: Post a new tweet to the previously defined twitter account.
public newStatusAsync ( string tweet, string latitude = "", string longitude = "" ) : void
tweet string The tweet to post. Max. 140 chars
latitude string Optional: latitude for geotagging
longitude string Optional: longitude for geotagging
Résultat void