C# Class Facebook.OpenGraph.Web.SubscriptionHandler

Provides a base implementation for real-time update handlers for Web Forms.

To utilize this class, simply create a Generic Handler (*.ashx) file in your web application at the desired location and have it inherit from this class instead of IHttpHandler. Have it override the ApplicationName property and any of the entity-updated events such as OnUserUpdated.

Inheritance: IHttpHandler
Mostrar archivo Open project: prabirshrestha/opengraph.net

Public Methods

Method Description
ProcessRequest ( HttpContext context ) : void

Protected Methods

Method Description
OnErrorsReported ( string applicationName ) : void

Not yet supported.

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

Not yet supported.

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

Called when a User object is updated.

Private Methods

Method Description
HandleContent ( HttpContext context, string content ) : void
HandleSubscriptionVerification ( HttpContext context, string challenge, string verifyToken ) : void

Method Details

OnErrorsReported() protected method

Not yet supported.
protected OnErrorsReported ( string applicationName ) : void
applicationName string
return void

OnPermissionsUpdated() protected method

Not yet supported.
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

ProcessRequest() public method

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void