C# 클래스 Smrf.NodeXL.GraphDataProviders.Facebook.FacebookFanPageNetworkAnalyzer

Gets networks of Facebook fan page.
Use GetNetworkAsync to asynchronously get a undirected network of a Facebook fan page.
상속: FacebookNetworkAnalyzerBase
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

공개 프로퍼티들

프로퍼티 타입 설명
txt String

공개 메소드들

메소드 설명
AssertValid ( ) : void
FacebookFanPageNetworkAnalyzer ( ) : System

Initializes a new instance of the class.

GetNetwork ( String s_accessToken, String fanPageUsernameID, List netTypes, int iFromPost, int iToPost, bool>.Dictionary attributes, bool getStatusUpdates, bool getWallPosts, bool includeOthers, System.DateTime startDate, System.DateTime endDate, int iLimit ) : XmlDocument
GetNetworkAsync ( String s_accessToken, String fanPageUsernameID, List netTypes, int iFromPost, int iToPost, bool>.Dictionary attributes, bool getStatusUpdates, bool getWallPosts, bool includeOthers, System.DateTime startDate, System.DateTime endDate, int iLimit ) : void

보호된 메소드들

메소드 설명
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateGraphMLXmlDocument ( bool>.Dictionary attributes, List netTypes ) : GraphMLXmlDocument
GetFanPageNetworkInternal ( string sAccessToken, string fanPageUsernameID, List netTypes, int iFromPost, int iToPost, bool>.Dictionary attributes, bool getStatusUpdates, bool getWallPosts, bool includeOthers, System.DateTime startDate, System.DateTime endDate, int iLimit ) : XmlDocument
GetNetworkDescription ( Facebook.JSONObject streamPosts, String fanPageUsernameID, List netTypes, int iFromPost, int iToPost, System.DateTime fromDate, System.DateTime endDate, GraphMLXmlDocument oGraphMLXmlDocument ) : String

비공개 메소드들

메소드 설명
AddAttributes ( GraphMLXmlDocument &oGraphMLXmlDocument, XmlNode &oVertexXmlNode, JSONObject>.Dictionary attributeValues ) : void
AddCommenterVertices ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary commentersComments, JSONObject>.Dictionary attributeValues, object>.Dictionary statusUpdates, object>.Dictionary wallPosts ) : void
AddEdges ( GraphMLXmlDocument &oGraphMlXmlDocument, List netTypes, Dictionary commentersComments, Dictionary likersPosts, Facebook.JSONObject streamPosts, JSONObject>.Dictionary attributeValues ) : void
AddLikerVertices ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary likersPost, JSONObject>.Dictionary attributeValues, object>.Dictionary statusUpdates, object>.Dictionary wallPosts ) : void
AddPostDateRangeToNetworkDescription ( Facebook.JSONObject streamPosts, NetworkDescriber oNetworkDescriber ) : void
AddPostPostCommentsEdges ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary commentersComments ) : void
AddPostPostLikesEdges ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary likersPosts ) : void
AddPostVertices ( GraphMLXmlDocument &oGraphMLXmlDocument, Facebook.JSONObject streamPosts ) : void
AddStatusUpdates ( GraphMLXmlDocument &oGraphMLXmlDocument, XmlNode &oVertexXmlNode, string userID, object>.Dictionary statusUpdates ) : void
AddUserPostCommentsEdges ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary commentersComments, JSONObject>.Dictionary attributeValues ) : void
AddUserPostLikesEdges ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary likersPosts, JSONObject>.Dictionary attributeValues ) : void
AddUserUserCommentsEdges ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary commentersComments, Facebook.JSONObject streamPosts, JSONObject>.Dictionary attributeValues ) : void
AddUserUserLikesEdges ( GraphMLXmlDocument &oGraphMLXmlDocument, Dictionary likersPosts, Facebook.JSONObject streamPosts, JSONObject>.Dictionary attributeValues ) : void
AddVertices ( GraphMLXmlDocument &oGraphMLXmlDocument, JSONObject>.Dictionary &attributeValues, bool>.Dictionary attributes, List netTypes, Dictionary commentersComments, Dictionary likersPosts, Facebook.JSONObject streamPosts ) : void
AddWallPosts ( GraphMLXmlDocument &oGraphMLXmlDocument, XmlNode &oVertexXmlNode, string userID, object>.Dictionary wallPosts ) : void
CallGraphAPIWithRelogin ( string sRelativePath ) : Facebook.JSONObject
ConcatenateNetworkTypes ( List netTypes ) : string
DownloadComments ( Facebook.JSONObject streamPosts, int iLimit ) : Dictionary>>
DownloadLikes ( Facebook.JSONObject streamPosts, int iLimit ) : List>.Dictionary
DownloadPosts ( string fanPageUsernameID, int iFromPost, int iToPost, System.Boolean includeOthers, System.DateTime startDate, System.DateTime endDate ) : Facebook.JSONObject
ExecuteFQLMultiqueryWithRetryRelogin ( string>.Dictionary oQueries, string sProgress, bool bForcePrevent ) : Facebook.JSONObject
ExecuteFQLWithRelogin ( string sQuery, bool bForcePrevent ) : Facebook.JSONObject
GetHashtags ( string txt, char concatenator ) : string

Returns the hashtags found in a string

GetStatusUpdates ( List userUIDs ) : Dictionary>>
GetURLs ( string txt, char concatenator ) : string

Returns the URLs found in a string

GetWallPosts ( List userUIDs ) : Dictionary>>
ManageDisplayNames ( string usersName, string usersID ) : string
ManageDisplayNames ( JSONObject>.Dictionary &attributes ) : void
ManageDuplicateNames2 ( JSONObject>.Dictionary &attributes ) : void
Relogin ( ) : void
ReloginMethod ( ) : void
getAttributes ( bool>.Dictionary attributes, List users ) : Dictionary>

Gets the selected attributes for all the friends

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

BackgroundWorker_DoWork() 보호된 메소드

protected BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
sender object
e System.ComponentModel.DoWorkEventArgs
리턴 void

CreateGraphMLXmlDocument() 보호된 메소드

protected CreateGraphMLXmlDocument ( bool>.Dictionary attributes, List netTypes ) : GraphMLXmlDocument
attributes bool>.Dictionary
netTypes List
리턴 Smrf.XmlLib.GraphMLXmlDocument

FacebookFanPageNetworkAnalyzer() 공개 메소드

Initializes a new instance of the class.
public FacebookFanPageNetworkAnalyzer ( ) : System
리턴 System

GetFanPageNetworkInternal() 보호된 메소드

protected GetFanPageNetworkInternal ( string sAccessToken, string fanPageUsernameID, List netTypes, int iFromPost, int iToPost, bool>.Dictionary attributes, bool getStatusUpdates, bool getWallPosts, bool includeOthers, System.DateTime startDate, System.DateTime endDate, int iLimit ) : XmlDocument
sAccessToken string
fanPageUsernameID string
netTypes List
iFromPost int
iToPost int
attributes bool>.Dictionary
getStatusUpdates bool
getWallPosts bool
includeOthers bool
startDate System.DateTime
endDate System.DateTime
iLimit int
리턴 System.Xml.XmlDocument

GetNetwork() 공개 메소드

public GetNetwork ( String s_accessToken, String fanPageUsernameID, List netTypes, int iFromPost, int iToPost, bool>.Dictionary attributes, bool getStatusUpdates, bool getWallPosts, bool includeOthers, System.DateTime startDate, System.DateTime endDate, int iLimit ) : XmlDocument
s_accessToken String
fanPageUsernameID String
netTypes List
iFromPost int
iToPost int
attributes bool>.Dictionary
getStatusUpdates bool
getWallPosts bool
includeOthers bool
startDate System.DateTime
endDate System.DateTime
iLimit int
리턴 System.Xml.XmlDocument

GetNetworkAsync() 공개 메소드

public GetNetworkAsync ( String s_accessToken, String fanPageUsernameID, List netTypes, int iFromPost, int iToPost, bool>.Dictionary attributes, bool getStatusUpdates, bool getWallPosts, bool includeOthers, System.DateTime startDate, System.DateTime endDate, int iLimit ) : void
s_accessToken String
fanPageUsernameID String
netTypes List
iFromPost int
iToPost int
attributes bool>.Dictionary
getStatusUpdates bool
getWallPosts bool
includeOthers bool
startDate System.DateTime
endDate System.DateTime
iLimit int
리턴 void

GetNetworkDescription() 보호된 메소드

protected GetNetworkDescription ( Facebook.JSONObject streamPosts, String fanPageUsernameID, List netTypes, int iFromPost, int iToPost, System.DateTime fromDate, System.DateTime endDate, GraphMLXmlDocument oGraphMLXmlDocument ) : String
streamPosts Facebook.JSONObject
fanPageUsernameID String
netTypes List
iFromPost int
iToPost int
fromDate System.DateTime
endDate System.DateTime
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
리턴 String

프로퍼티 상세

txt 공개적으로 프로퍼티

public String txt
리턴 String