Using
Mvc.Facebook.Realtime FacebookRealtimeUpdateController provides a process (HandleUpdateAsync) to deal with user events, but not For page events.
I have managed to process page events by overriding 'POST'
As Task (Net of .httpResponseMessage) Dim Content = Request.Content Blur JsonContent String = content.ReadAsStringAsync () Results. DimconvertedJson as RealTimeEvent = JsonConvert.DeserializeObject jsonContent () of RealTimeEvent () Returns' Page Events Do something with MyBase.Post End Function However Facebook has made all events immediately Done, which I believe because I'm not returning '200 OK' back to Facebook (see quote)
First you have to prepare the page that will act as your callback URL . This URL will be accessible from the Facebook servers, and will be able to retrieve both the posted data sent on an update, but can also accept the GET request to verify the subscription. This URL should always return a 200 OK HTTP response, when implemented by Facebook.
I cordoned my server and I did not get 200 correct HTTP responses, so I believe this is the way I am overloading posts.
Can I just return a response from my override function or maybe it would be better to leave the whole Microsoft. Espanet MVC Facebook Realtime solution and simply handle subscriptions can get yourself from Facebook?
Update: I've just stopped "my own code" and I can see an exception in aspNet.mv.facebook.dll.
Then there is a new question, this exception How do I separate?
Looking for others.
This issue was actually a handful update assync function, which should be overridden. It has been removed after 'post' if you do not return a valid function then the exception is TRR AspNet.MVC.Facebook.dll and within Facebook itself a 200 fine. A work and processing
How I used FacebookRealtimeUpdateController but was using that version 'HandleUpdateAsync' does not return is never used in the function.
So that does nothing, by creating a work, everything appears to be working fine.
Revert end function
Edit: But it creates a huge memory leak that can not even be cleaned with recycling.
So the real solution can just make your own controller And have completely forgotten the FacebookRealtimeUpdateController
Very easy to save and allocates hassle!