该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

AWS SNS Plugin

描述

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.

安装

  1. Upload the plugin files to the /wp-content/plugins/aws-sns directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings->AWS SNS screen to configure the plugin.
  4. Provide Access Key ID, Secret Access Key, and Region of your Amazon SNS.

1.0

  • Initial release.

评价

此插件暂无评价。

贡献者及开发者

「AWS SNS Plugin」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「AWS SNS Plugin」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「AWS SNS Plugin」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志