public async Task PostUnsubscribe(string subId) { // Get our WebHook Client InstagramWebHookClient client = Dependencies.Client; // Unsubscribe from the given subscription using client configuration with id="". await client.UnsubscribeAsync("", subId); }
public async Task PostUnsubscribeAll() { // Get our WebHook Client InstagramWebHookClient client = Dependencies.Client; // Unsubscribe from all subscriptions for the client configuration with id="". await client.UnsubscribeAsync(""); }