The subscription Api
Inheritance: InstaSharp.Endpoints.InstagramApi
Exemplo n.º 1
0
 public SubscriptionController(ISubscriptionRepository subscriptions, ILogger log, InstagramConfig config)
 {
     _log = log;
     _config = config;
     _subscriptionEndpoint = new Subscription(_config);
     _subscriptions = subscriptions;
 }
        public async Task<IHttpActionResult> PostUnsubscribeAll()
        {
            // Create InstaSharp subscription endpoint
            var subscriptions = new Subscription(Dependencies.InstagramConfig);

            // Subscribe for updates from Instagram
            var response = await subscriptions.RemoveAllSubscriptions();
            return Ok(response);
        }
Exemplo n.º 3
0
 public Realtime()
 {
     realtime = new Subscription(base.Config);
 }
Exemplo n.º 4
0
 public Realtime()
 {
     realtime = new Subscription(base.Config);
 }