Add Notificatoin Through REST API - yammer

In my application, I need to be able to add custom notifications to Yammer. Is there an undocumented way to add a notification through the Yammer Notifications REST API?

Notifications are sent when specific actions in Yammer are triggered, like when a message is received for a user a push notification will be sent to that user. There is no ability to manually generate push notifications for arbitrary events.

Related

Is there a way to get notifications sent to a webhook whenever users update/delete their Google Tasks

I am trying to find a way to get notifications pushed to a server whenever users update/delete their google tasks.
For Google Calendar events, you can create a watch to get changes to Events resources and notifications pushed to the webhook you specify.
Is there something like this we can use for Google Tasks?

How to make Slack Bot not respond to all the messages in the private group?

I want my bot to respond only if anyone mentions its name like #mybot.
How to achieve this?
For that you need to use the Events API and subscribe to the event app_metion.
That way your app will receive all message that directly mention your bot with #mybot.
Those messages will be sent as request from Slack to the endpoint provided for receiving events.

Google Calendar push notifications are sent to all participants when one participant responds to an event

When using Google Calendar API push notification, suppose, sender A sends a meeting invite to B and C. When B accepts the meeting invite, C also receives a push notification.
This can be problematic in cases where a meeting invite is sent to a lerge number of recipients, say 200 people. In this case each of the 200 recipients of the invite will also see 200 push notifications only due to other recipients accepting or declining the event.
Is there a way to get push notifications only in case an event's start or end time is changed or event is deleted but not receive push notifications when recipients accept/decline an event?
With Office365 API, I do not see push notifications being sent in this scenario.
The Google Calendar API provides push notifications that let you watch for changes to resources.
A resource is changed if anything if it is updated or deleted and in this case if a user accepts or declines.
Answer: No you cant pick You get all the changes you do not get to pick which changes you want. You get notified of all changes on a resource. I suggest that you filter out the changes that you dont want locally.

How can I get notifications from Mailchimp's webhook API when I import contacts?

I wanted to synchronize my contacts from mailchimp to my app.
I did this by periodically asking Mailchimp if any contacts were updated or created .
Now, I want to do it using the Mailchimp's webhooks.
I have created a webhook in mailchimp and tested it and it works well when I do some changes as Admin using the Mailchimp UI, but when I add or update any contacts using import contacts functionality, I don't receive any notifications.
Mailchimp's webhook API says that they send notifications only when a change is made
by a subscriber
by an account admin
via the API
so, since I'm not getting the notifications I used to get using the previous method, is changing to webhooks a bad option?
Is there any way that I could get the notifications I used to get from my old method, using Mailchimp's webhooks?
Webhooks may have been omitted from imports to try and protect users from inadvertently DDoSiNg the hook destinations on large imports.
In regards to keeping these two data sets in parity, because webhooks don't have a trigger for import events, I might first suggest exploring another update method for adding subscriber data to the list in MailChimp.
Perhaps looking to the Batch operation options in MailChimp's API:
http://developer.mailchimp.com/documentation/mailchimp/reference/batches/
http://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-batch-operations/?utm_source=mc-api&utm_medium=docs&utm_campaign=apidocs&_ga=1.112643975.2008383502.1487629834
As this should allow large updates while keeping the external app abreast of any updates via the triggered webhooks.

Get notified about changes in a google calendar

I was wondering, is it possible to set up a Mac OS X app, to get notified when a user makes changes to a Google Calendar. Like what you can do with EKEventStore?
There’s a query method + (id)queryForCalendarListWatchWithObject:(GTLCalendarChannel *) object, but I’m not really sure how you should set up the GTLCalendarChannel object.
Or is the only way, other than polling, to use push notifications?
Thanks in advance.
You can use Google Calendar API which provides push notifications that let you watch for changes to resources. This makes periodic polling unnecessary.
You can use this feature to improve the performance of your application. It allows you to eliminate the extra network and compute costs involved with polling resources to determine if they have changed. Whenever a watched resource changes, the Google Calendar API notifies your application.
To use this API, you need to:
Register the domain of your receiving URL. Before you can set up a push notification channel, you must register the domain for any URLs you plan to use to receive push notification messages.
Set up your receiving URL, or "Webhook" callback receiver. Whenever a watched resource changes, your application will receive a notification message describing the change. The Google Calendar API sends these messages as HTTPS POST requests to the URL you specified as the "address" for this notification channel.
Set up a notification channel for each resource endpoint you want to watch. To request push notifications, you need to set up a notification channel for each resource you want to watch. After your notification channels are set up, the Google Calendar API will inform your application when any watched resource changes.
When a calendar changes, it will notify your app and the app does an API call to get the update. You can use one of the Google API client libraries to utilize push notifications.
Check these documentation and blog about Google Calendar API Push notifications.
Hope this helps!

Resources