C# Class Facebook.Graph.Web.Mvc.SubscriptionController

Implements the basic behaviors necessary for a Controller class to handle incoming requests from the Graph server to handle subscription updates.
Inheritance: Controller
Show file Open project: prabirshrestha/opengraph.net

Protected Methods

Method Description
OnErrorsReported ( string applicationName ) : void
OnPermissionsUpdated ( string applicationName, string userID, ExtendedPermissions permissions ) : void

OnUserUpdated ( string applicationName, string userID, string updatedProperties ) : void

Called when a User object is updated.

Private Methods

Method Description
Handler ( string challenge, string verify_token, object content, string applicationName ) : System.Web.Mvc.ActionResult

Method Details

OnErrorsReported() protected method

protected OnErrorsReported ( string applicationName ) : void
applicationName string
return void

OnPermissionsUpdated() protected method

protected OnPermissionsUpdated ( string applicationName, string userID, ExtendedPermissions permissions ) : void
applicationName string
userID string
permissions ExtendedPermissions
return void

OnUserUpdated() protected method

Called when a User object is updated.
protected OnUserUpdated ( string applicationName, string userID, string updatedProperties ) : void
applicationName string The name of the application, determined by the routing properties.
userID string The ID of the user who was updated.
updatedProperties string A list of properties that were updated for the user.
return void