Let PushBots push your WordPress posts
PushBots is a neat, highly integratable, service to send push notifications to your app, whether it be iOS, Android or Chrome. When WordPress is the backbone of your data, this WP plugin keeps your app's users posted. Receive push notification when a new post is published, with a customized payload.
- Push when comments are made...
Setup your app with PushBots. Make sure it works, and test your payload by using the composer on the PushBots dashboard
- Install this plugin the WP way
- Activate it
- Go to: Settings / WordPushBots
- Enter your PushBots App-ID and -secret
- Now configure your notifications..
Define the alert-message:
- Post's title
- Post's content (140 chars)
- Custom text (available variables: $author, $title)
Narrow down your audience: Push notification are received by everyone..
- With pre-defined alias
- Tagged with one of post's categories (slugs)
- Tagged with one of post's tags (slugs)
- Tagged with pre-defined tags
In your payload you can post:
- Post's ID or slug
- Post's categories IDs or slug
- Post's tags IDs or slug
You can specify the key you're sending, for example
post_item
orpost_categories
. You can specify the value you're sending with either ID or slug. A result could for example become:{ "post_item": 8343 , "post_categories": [ 25, 10, 11 ] }
or{ "post_id": 8343 , "post_cats": [ "sale", "sport" ] }