Skip to content

Method SubscibeAppToPageAsync

HiznyakNikita edited this page Sep 3, 2016 · 1 revision

SubscibeAppToPageAsync

subscribe page to app by access_token, do the same like: curl -X POST "https://graph.facebook.com/v2.7/me/subscribed_apps?access_token=PAGE_ACCESS_TOKEN" which is described in MessengerAPI docs.

Parameters

  • string accessToken - access token which is generating by bot page at FB developers account

Result

App will subscribe to bot page

Example

public async Task SubscibeAppToPage(string accessToken) { await _api.SubscibeAppToPageAsync(accessToken); }