C# Class facebook_pages_crawler.Form1

Datei anzeigen Open project: 2014-sed-team3/term-project

Public Methods

Method Description
Form1 ( ) : System
checkCanUpdate ( ) : void
get_likes ( string pageID, string objectID, string access_token, JSONObject likeJSON, DateTime postCreatedTime, string nextUrl ) : int
get_post ( string pageID, string access_token, string since, string until ) : void

return with id,name,picture,link,category,website,founded,likes,talking_about_count

get_post_comment ( string pageID, string postID, string access_token, JSONObject commJSON, DateTime postCreatedTime, string nextUrl ) : int
pages_info ( string url ) : List

return with id,name,picture,link,category,website,founded,likes,talking_about_count

updatePageIDList ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

清除任何使用中的資源。

Private Methods

Method Description
FBJsonCheck ( JSONObject result ) : JSONObject
Form1_Load ( object sender, EventArgs e ) : void
Form1_Shown ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改這個方法的內容。

SetAccessToken_Click ( object sender, EventArgs e ) : void
addWithManualPageID_Click ( object sender, EventArgs e ) : void
cancleUpdate_Click ( object sender, EventArgs e ) : void
clearPagesCheck_Click ( object sender, EventArgs e ) : void
clearResultCheck_Click ( object sender, EventArgs e ) : void
dbConnect_Click ( object sender, EventArgs e ) : void
deletePageID_Click ( object sender, EventArgs e ) : void
fbDatetimeToDatetime ( string fbdate ) : DateTime
getCurrentDate ( ) : DateTime
init_Timer ( ) : void
insertPageID_Click ( object sender, EventArgs e ) : void
insert_pages_fans ( string>.Dictionary fansName, string pageID ) : void
insert_posts_likes ( string>.Dictionary fansName, string pageID, string postID, DateTime createdTime ) : void
messageLog ( string message ) : void
post_comment_search_Click ( object sender, EventArgs e ) : void
reflash_Click ( object sender, EventArgs e ) : void
resultCheck ( JSONObject result, string url, int limit ) : JSONObject
searchButton_Click ( object sender, EventArgs e ) : void
searchResultList_ColumnClick ( object sender, ColumnClickEventArgs e ) : void
selectAllPageButton_Click ( object sender, EventArgs e ) : void
selectAllResultPageButton_Click ( object sender, EventArgs e ) : void
startUpdateData ( string newIDSince ) : void
startUpdate_Click ( object sender, EventArgs e ) : void
unselectAllPageButton_Click ( object sender, EventArgs e ) : void
unselectAllResultPageButton_Click ( object sender, EventArgs e ) : void
updatePageLogsCheck_CheckedChanged ( object sender, EventArgs e ) : void
update_user_info ( ) : void
update_user_info_by_ids ( StringBuilder sb, DBConnection conn ) : void
userInfoTimer_Tick ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

清除任何使用中的資源。
protected Dispose ( bool disposing ) : void
disposing bool 如果應該處置 Managed 資源則為 true,否則為 false。
return void

Form1() public method

public Form1 ( ) : System
return System

checkCanUpdate() public method

public checkCanUpdate ( ) : void
return void

get_likes() public method

public get_likes ( string pageID, string objectID, string access_token, JSONObject likeJSON, DateTime postCreatedTime, string nextUrl ) : int
pageID string
objectID string
access_token string
likeJSON JSONObject
postCreatedTime DateTime
nextUrl string
return int

get_post() public method

return with id,name,picture,link,category,website,founded,likes,talking_about_count
public get_post ( string pageID, string access_token, string since, string until ) : void
pageID string
access_token string
since string
until string
return void

get_post_comment() public method

public get_post_comment ( string pageID, string postID, string access_token, JSONObject commJSON, DateTime postCreatedTime, string nextUrl ) : int
pageID string
postID string
access_token string
commJSON JSONObject
postCreatedTime DateTime
nextUrl string
return int

pages_info() public method

return with id,name,picture,link,category,website,founded,likes,talking_about_count
public pages_info ( string url ) : List
url string
return List

updatePageIDList() public method

public updatePageIDList ( ) : void
return void