To just receive WebHooks, there are no dependencies on Instasharp, but it is great tool for subscribing or unsubscribing from Instagram WebHooks as well as for receiving media posted etc.
Updated Instagram receiver sample to reflect this: It now supports oauth authentication for a user to log in and to consent an Instagram Application. Once that is done, it is possible to receive notifications,
- Tag mandatory properties with Required.Always so JSON.NET enforces the requirement during (de)serialization
- Fix a couple of comment typos on KuduNotification
- Add required 'resourceRegion' property to AlertMessage1.json test content
- Add AlertMessage3.json to validate change against sample payload in Azure docs
- Add unit tests
This can for example be used to add filters to registrations enabling broadcast notifications or specific group notifications. Filters added this way can either be publicly visible or private filters intended for server side processing only.
In the former case, any filters added in an IWebHookRegistrar implementation must be listed by an IWebHookFilterManager implementation. In the latter case, the filter must be prefixed by the string "MS_Private_" to remain hidden from the user. Failure to do either of these will lead to WebHook registration updates being rejected due to unknown filters.
/command action value
/command action p1=v1; p2=v2; ...
An example of an outgoing WebHook or slash command using the first format is '/assistant query what's the weather?' where '/assistant' is the trigger word or slash command, 'query' is the action and 'what's the weather?' is the value.
In the second form, parameter values containing semi-colons can either escape the semi-colon using a backslash character, i.e '\;', or quote the value using single quotes or double quotes. An example of an outgoing WebHook or slash command using this format is '/appointment add title=doctor visit; time=Feb 3 2016 2 PM; location=Children's Hospital' where '/appointment' is the trigger word or slash command, 'add' is the action and title, time, and location are parameters.
This makes it much simpler to add support for Slack slash commands and outgoing webhook that take parameters from the user.
Updated the SlackSample to illustrate use of this for both outgoing webhooks and slash commands.
Add MS_WebHookStripeInTestMode to execute custom StripeWebHookHandlers for test events ('evt_00000000000000')
Add StripeEvent and StripeEventData classes
Added support for sending WebHooks directly to an Azure Storage Queue and also a mechanism for dequeing messages from the queue and then send out the WebHooks as normal. That allows for implementing highly scalable systems where the outgoing WebHooks are persisted in a queue and then can be sent from any number of queue client that poll for messages as they become available.