C# Класс Smrf.NodeXL.GraphDataProviders.Facebook.FacebookUserNetworkAnalyzer

Gets a network of Facebook friends.
Use GetNetworkAsync to asynchronously get a directed network of Facebook freinds.
Наследование: FacebookNetworkAnalyzerBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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