Wednesday, February 11, 2015

Push your Drupal Site’s Events to your Phone with Pushover

In this article I am going to show you how you can integrate Pushover with your Drupal site. I will illustrate a couple of examples of how you can use Pushover to notify yourself as soon as something happens on your site.


The code I write in this article is also available in this repository so you can just clone that if you want to follow along.



What is Pushover?


Pushover is a web and mobile application that allows you to get real time notifications on your mobile device. The way it works is that you install an app on your Android or Apple device and using a handy API you can send that app notifications. The great thing about this is that it happens more or less in real time (depending on your internet connection) as Pushover uses the Google and Apple servers to send the notifications.


The price is also very affordable. At a rate of $4.99 USD per platform (Android, Apple or desktop) paid only once, you can use it on any number of devices under that platform. And you also get a 5 day trial period for free the moment you create your account.


What am I doing here?


In this article I am going to set up a Pushover application and use it from my Drupal site to notify my phone of various events. I will give you two example use cases that Pushover can be handy with:



  • Whenever an anonymous user posts a comment that awaits administrative approval, I’ll send a notification to my phone

  • Whenever the admin user 1 logs into the site, I’ll send an emergency notification to my phone (useful if you are the only user of that admin account).


Naturally, these are examples and you may not find them useful. But they only serve as illustration of the power you can have by using Pushover.


Continue reading %Push your Drupal Site’s Events to your Phone with Pushover%




by Daniel Sipos via SitePoint

No comments:

Post a Comment