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

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

공개 프로퍼티들

프로퍼티 타입 설명
txt String

공개 메소드들

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

Initializes a new instance of the class.

GetNetwork ( String s_accessToken, List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, bool bEgoTimeline, bool bFriendsTimeline, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, bool bGetTooltips, bool bIncludeMe, AttributesDictionary attributes ) : XmlDocument
GetNetworkAsync ( String s_accessToken, List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, bool bEgoTimeline, bool bFriendsTimeline, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, bool bGetTooltips, bool bIncludeMe, AttributesDictionary attributes ) : void
oTimer_Elapsed ( object sender, System e ) : void
oTimer_Tick ( object sender, EventArgs e ) : void

보호된 메소드들

메소드 설명
BackgroundWorker_DoWork ( object sender, DoWorkEventArgs e ) : void
CreateGraphMLXmlDocument ( AttributesDictionary attributes ) : GraphMLXmlDocument
GetFriendsNetworkInternal ( string sAccessToken, List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, bool bEgoTimeline, bool bFriendsTimeline, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, bool bGetTooltips, bool bIncludeMe, AttributesDictionary attributes ) : XmlDocument
GetNetworkDescription ( List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, GraphMLXmlDocument oGraphMLXmlDocument ) : String

비공개 메소드들

메소드 설명
AddEdgeAttributes ( XmlNode oEdgeXmlNode, Edge oEdge ) : void
AddEdges ( ) : void
AddVertexAttributes ( XmlNode oVertexXmlNode, Vertex oVertex ) : void
AddVertices ( ) : void
CreateAuthorEdges ( ) : void
CreateCommenterEdges ( ) : void
CreateEdges ( bool bGetUsersTagged, bool bGetCommenters, bool bGetLikers, bool bGetAuthorPosts, bool bIncludeMe ) : void
CreateIncludeMeEdges ( ) : void
CreateLikerEdges ( ) : void
CreateUserTaggedEdges ( ) : void
DownloadAttributes ( AttributesDictionary attributes ) : void

Gets the selected attributes for all the friends

DownloadEgo ( ) : Facebook.JSONObject
DownloadFriendConnections ( ) : void
DownloadFriends ( ) : void
DownloadFromPostToPost ( int iFromPost, int iToPost, string sFirstPartQuery ) : List
DownloadPosts ( bool bDownloadFromPostToPost, bool bDownloadBetweenDates, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bGetUsersTagged, bool bGetCommenters, bool bGetLikers ) : void
DownloadPostsBetweenDates ( System.DateTime oStartDate, System.DateTime oEndDate, string sFirsPartQuery, bool bEgoTimeline, bool bFriendsTimeline ) : void
DownloadVertices ( bool bGetUsersTagged, bool bGetCommenters, bool bGetLikers, bool bGetPosts, bool bLimitCommentsLikes, int iNrLimit ) : void
ExecuteFQLMultiqueryWithRetry ( string>.Dictionary oQueries, string sProgress ) : Facebook.JSONObject
FQLBatchRequest ( Facebook.FacebookAPI fb, List oQueries ) : List
GetCommenters ( bool bLimitCommentsLikes, int iNrLimit ) : void
GetEgo ( ) : void
GetHashtags ( string txt, char concatenator ) : string

Returns the hashtags found in a string

GetInfo ( string sTableName, string sPostId, int iLimit, int iNrOfLikesComments, int iCallNr ) : List
GetLikers ( bool bLimitCommentsLikes, int iNrLimit ) : void
GetLoggedInUsername ( ) : string
GetPostAuthors ( ) : void
GetTooltips ( ) : void
GetURLs ( string txt, char concatenator ) : string

Returns the URLs found in a string

GetUsersTagged ( ) : void
ManageDuplicateNames ( string sName ) : string
VerticesToQuery ( bool bEgoTimeline, bool bFriendsTimeline ) : VertexCollection

메소드 상세

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 ( AttributesDictionary attributes ) : GraphMLXmlDocument
attributes AttributesDictionary
리턴 Smrf.XmlLib.GraphMLXmlDocument

FacebookUserNetworkAnalyzer() 공개 메소드

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

GetFriendsNetworkInternal() 보호된 메소드

protected GetFriendsNetworkInternal ( string sAccessToken, List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, bool bEgoTimeline, bool bFriendsTimeline, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, bool bGetTooltips, bool bIncludeMe, AttributesDictionary attributes ) : XmlDocument
sAccessToken string
oEdgeType List
bDownloadFromPostToPost bool
bDownloadBetweenDates bool
bEgoTimeline bool
bFriendsTimeline bool
iFromPost int
iToPost int
oStartDate System.DateTime
oEndDate System.DateTime
bLimitCommentsLikes bool
iNrLimit int
bGetTooltips bool
bIncludeMe bool
attributes AttributesDictionary
리턴 System.Xml.XmlDocument

GetNetwork() 공개 메소드

public GetNetwork ( String s_accessToken, List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, bool bEgoTimeline, bool bFriendsTimeline, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, bool bGetTooltips, bool bIncludeMe, AttributesDictionary attributes ) : XmlDocument
s_accessToken String
oEdgeType List
bDownloadFromPostToPost bool
bDownloadBetweenDates bool
bEgoTimeline bool
bFriendsTimeline bool
iFromPost int
iToPost int
oStartDate System.DateTime
oEndDate System.DateTime
bLimitCommentsLikes bool
iNrLimit int
bGetTooltips bool
bIncludeMe bool
attributes AttributesDictionary
리턴 System.Xml.XmlDocument

GetNetworkAsync() 공개 메소드

public GetNetworkAsync ( String s_accessToken, List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, bool bEgoTimeline, bool bFriendsTimeline, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, bool bGetTooltips, bool bIncludeMe, AttributesDictionary attributes ) : void
s_accessToken String
oEdgeType List
bDownloadFromPostToPost bool
bDownloadBetweenDates bool
bEgoTimeline bool
bFriendsTimeline bool
iFromPost int
iToPost int
oStartDate System.DateTime
oEndDate System.DateTime
bLimitCommentsLikes bool
iNrLimit int
bGetTooltips bool
bIncludeMe bool
attributes AttributesDictionary
리턴 void

GetNetworkDescription() 보호된 메소드

protected GetNetworkDescription ( List oEdgeType, bool bDownloadFromPostToPost, bool bDownloadBetweenDates, int iFromPost, int iToPost, System.DateTime oStartDate, System.DateTime oEndDate, bool bLimitCommentsLikes, int iNrLimit, GraphMLXmlDocument oGraphMLXmlDocument ) : String
oEdgeType List
bDownloadFromPostToPost bool
bDownloadBetweenDates bool
iFromPost int
iToPost int
oStartDate System.DateTime
oEndDate System.DateTime
bLimitCommentsLikes bool
iNrLimit int
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
리턴 String

oTimer_Elapsed() 공개 메소드

public oTimer_Elapsed ( object sender, System e ) : void
sender object
e System
리턴 void

oTimer_Tick() 공개 메소드

public oTimer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

txt 공개적으로 프로퍼티

public String txt
리턴 String