Click or drag to resize

IFBMessenger Interface

The interface used by the FBMessenger service to interact with Facebook Messenger.

Namespace:  NetQuarry.Services.Facebook
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public interface IFBMessenger

The IFBMessenger type exposes the following members.

Properties
  NameDescription
Public propertyAppID
The ID of the Facebook app that is set as the secondary receiver of Facebook messages for the Facebook page specified in the PageID property.
Public propertyPageAccessToken
A token to authenticate Facebook API calls as a Facebook page.
Public propertyPageID
The ID of a Facebook page.
Public propertySlackNotificationBody
The ID of a Facebook page.
Public propertyWebhookVerificationMode
The verification mode that Facebook provides in a query parameter to the verify webhook endpoint. At the time of writing, the only value is 'subscribe' but it is a property of the service so a change in the future doesn't require a recompile.
Public propertyWebhookVerificationToken
The token set in Facebook's Developer Console that Facebook will provide in a query parameter to the verify webhook endpoint for us to verify that it is Facebook who is sending us events.
Top
Methods
  NameDescription
Public methodSend
Send a message to a Facebook user in Facebook Messenger.
Public methodSendViaPhoneNumber
Send a message to a user in Facebook Messenger assuming they have linked their phone number with their Facebook account. Including the optional first or last name will increase the odds of a successful match.
Public methodUserName
Looks up the user's name.
Top
See Also