I am working on a social networking project where I need to keep track of several files and listen to everything that happens on this page. I know there are data resellers like GNIP and Datasift that can provide me with such data. I have tried both tests.
What I want to know is that there is a way to do this through the public feed and APIS schedule, I know that with this I will limit myself to open messages only, but this is normal.
I downloaded Facebook C # SDK and I can get detailed information on Fan pages, album comments for groups I have credentials but is there any way to get real-time updates via api?
For example, I want to insert everything that happens on my pages into a database for reporting. I want to track any messages (photos / videos / status / events) and comments of people on it.
I read this link explaining the real-time update API . But I do not know how to do this using facebook C # SDK. I never set up a callback url, I am not familiar with it, but this is a solution where, when using the Facebook C # SDK, can I get some callbacks that occurred as a result of a new interaction?
Thanks in advance. I may seem very stunning, but I'm sure I did justice by explaining my point.
Here is an example of the code I tried:
public void FBPing() {
var client = new FacebookClient();
dynamic FBObj = client.Get("fanpagename");
OutputBox.AppendText(" about " + FBObj.about + "\r\n\r\n");
OutputBox.AppendText(" username" + FBObj.username + "\r\n\r\n");
OutputBox.AppendText(" category " + FBObj.category + "\r\n\r\n");
OutputBox.AppendText(" likes " + FBObj.likes + "\r\n\r\n");
OutputBox.AppendText(" talking_about_count " + FBObj.talking_about_count + "\r\n\r\n");
OutputBox.AppendText(" were_here_count " + FBObj.were_here_count + "\r\n\r\n");
OutputBox.AppendText(" description " + FBObj.description + "\r\n\r\n");
OutputBox.AppendText(" company_overview " + FBObj.company_overview + "\r\n\r\n");
OutputBox.AppendText(" genre " + FBObj.genre + "\r\n\r\n");
OutputBox.AppendText(" is_published " + FBObj.is_published + "\r\n\r\n");
OutputBox.AppendText(" plot_outline " + FBObj.plot_outline + "\r\n\r\n");
OutputBox.AppendText(" release_date " + FBObj.release_date + "\r\n\r\n");
OutputBox.AppendText(" starring " + FBObj.starring + "\r\n\r\n");
OutputBox.AppendText(" username " + FBObj.username + "\r\n\r\n");
OutputBox.AppendText(" website " + FBObj.website + "\r\n\r\n");
OutputBox.AppendText(" written_by " + FBObj.written_by + "\r\n\r\n");
OutputBox.AppendText(" id " + FBObj.id + "\r\n\r\n");
OutputBox.AppendText(" name " + FBObj.name + "\r\n\r\n");
OutputBox.AppendText(" link " + FBObj.link + "\r\n\r\n");
OutputBox.AppendText(" Cover cover_id " + FBObj.cover.cover_id + "\r\n\r\n");
OutputBox.AppendText(" Cover source " + FBObj.cover.source + "\r\n\r\n");
}
1
, API Facebook Public Feed API Graph API , , , HTTPS . ?
github, ASP.NET Callback ashx. , . , - , . , - .
2
API GRAPH, FQL , HTTP api. , , MSMQ Rabbit MQ? , ( Facebook # SDK ), :)