C# Class TwitterPluginForAtomSite.TwitterInteraction

ファイルを表示 Open project: erikzaadi/AtomSitePlugins

Public Methods

Method Description
AddMarkupToTweet ( string Tweet ) : string
GetTwitterUser ( int CacheDuration, string TwitterName, string OptionalPassword ) : TwitterStructs.User
GetUpdates ( int CacheDuration, string TwitterName, int Limit, int PagingIndex ) : TwitterStructs.Twitter
PostTweet ( string username, string password, string tweet ) : string

Post an update to a Twitter acount

Tweet ( string ToTweet, string TwitterName, string Password ) : string

Private Methods

Method Description
DoForAllMatches ( string Input, string Regex, Action ToDo ) : void
ElementValueSingleOrDefault ( System.Xml.Linq.XElement element, string name ) : string
GetDateTimeFromTwitterTime ( string Value ) : System.DateTime
GetTwitterUserFromUserElement ( System.Xml.Linq.XElement u ) : TwitterStructs.User
ShortenURL ( string URL ) : string
ShortenURLsForTweet ( string ToTweet ) : string

Method Details

AddMarkupToTweet() public static method

public static AddMarkupToTweet ( string Tweet ) : string
Tweet string
return string

GetTwitterUser() public static method

public static GetTwitterUser ( int CacheDuration, string TwitterName, string OptionalPassword ) : TwitterStructs.User
CacheDuration int
TwitterName string
OptionalPassword string
return TwitterStructs.User

GetUpdates() public static method

public static GetUpdates ( int CacheDuration, string TwitterName, int Limit, int PagingIndex ) : TwitterStructs.Twitter
CacheDuration int
TwitterName string
Limit int
PagingIndex int
return TwitterStructs.Twitter

PostTweet() public static method

Post an update to a Twitter acount
public static PostTweet ( string username, string password, string tweet ) : string
username string The username of the account
password string The password of the account
tweet string The status to post
return string

Tweet() public static method

public static Tweet ( string ToTweet, string TwitterName, string Password ) : string
ToTweet string
TwitterName string
Password string
return string