Beskrivning
This plugin is created to send push notifications to different devices using Amazon Simple Notification Service.
It connects with the Amazon SNS and fetch all the Topics created. And publish messages to that topics.
To use this plugin you must need following things.
1. Amazon web service account.
2. Amazon API ”Access Key ID” and ”Secret Access Key”.
3. Create atleast one topic in SNS.
Following payload is send to the selected topic, togather with the title and message you provide.
{
”default”: ”[MESSAGE]”,
”APNS”: ”{\”aps\”:{\”alert\”: \”[MESSAGE]\”} }”,
”APNS_SANDBOX”:”{\”aps\”:{\”alert\”:\”[MESSAGE]\”}}”,
”GCM”: ”{ \”data\”: { \”message\”: \”[MESSAGE]\”, \”title\”: \”[TITLE]\”, \”datetime\”: \”[DATETIME]\” } }”,
”MPNS” : ”1[MESSAGE]”,
”WNS” : ””
}
In above payload following tags are replaced by the data provided.
[TITLE] -> The title you provide.
[MESSAGE] -> The message you provide.
[DATETIME] -> server current datetime.
Installation
- Upload the plugin files to the
/wp-content/plugins/aws-snsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ’Plugins’ screen in WordPress.
- Use the Settings->AWS SNS screen to configure the plugin.
- Provide Access Key ID, Secret Access Key, and Region of your Amazon SNS.
1.0
- Initial release.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”AWS SNS Plugin” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”AWS SNS Plugin” har översatts till 1 språk. Tack till översättarna för deras bidrag.
Översätt ”AWS SNS Plugin” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.