C# Class Smrf.SocialNetworkLib.Twitter.TwitterStatusParser

Parses a Twitter status.
A tweet is known as a "status" in the Twitter API, so "status" is the term used in this class's methods.
Inheritance: Object
Show file Open project: 2014-sed-team3/term-project

Public Methods

Method Description
GetHashtagsFromStatusValueDictionary ( Object>.Dictionary statusValueDictionary ) : String[]
GetUrlsFromStatusValueDictionary ( Object>.Dictionary statusValueDictionary, System.Boolean expandUrls ) : String[]
TryParseStatus ( Object>.Dictionary statusValueDictionary, System.Int64 &statusID, System.DateTime &statusDateUtc, String &screenName, String &text, String &rawStatusJson, Object>.Dictionary &userValueDictionary ) : System.Boolean
UserValueDictionaryToRawJson ( Object>.Dictionary userValueDictionary ) : String

Private Methods

Method Description
GetEntities ( Object>.Dictionary entityValueDictionary, String entityName, String entityChildName, System.Boolean convertToLowerCase ) : String[]
TryGetEntityValueDictionary ( Object>.Dictionary statusValueDictionary, Object>.Dictionary &entityValueDictionary ) : System.Boolean
ValueDictionaryToRawJson ( Object>.Dictionary valueDictionary ) : String

Method Details

GetHashtagsFromStatusValueDictionary() public static method

public static GetHashtagsFromStatusValueDictionary ( Object>.Dictionary statusValueDictionary ) : String[]
statusValueDictionary Object>.Dictionary
return String[]

GetUrlsFromStatusValueDictionary() public static method

public static GetUrlsFromStatusValueDictionary ( Object>.Dictionary statusValueDictionary, System.Boolean expandUrls ) : String[]
statusValueDictionary Object>.Dictionary
expandUrls System.Boolean
return String[]

TryParseStatus() public static method

public static TryParseStatus ( Object>.Dictionary statusValueDictionary, System.Int64 &statusID, System.DateTime &statusDateUtc, String &screenName, String &text, String &rawStatusJson, Object>.Dictionary &userValueDictionary ) : System.Boolean
statusValueDictionary Object>.Dictionary
statusID System.Int64
statusDateUtc System.DateTime
screenName String
text String
rawStatusJson String
userValueDictionary Object>.Dictionary
return System.Boolean

UserValueDictionaryToRawJson() public static method

public static UserValueDictionaryToRawJson ( Object>.Dictionary userValueDictionary ) : String
userValueDictionary Object>.Dictionary
return String