weilifang / awis-alexa
this is a Awis Alexa plugins
README
Alexa 包
附带说明
-
PHP Sample for Alexa Web Information Service -
This sample will make a request to the Alexa Web Information Service using your Access Key ID and Secret Access Key.
Tested with PHP 5.3.2.
Steps:
-
Sign up for an Amazon Web Services account at http://aws.amazon.com (Note that you must have a valid credit card)
-
Get your Access Key ID and Secret Access Key
-
Sign up for Alexa Web Information Service at http://aws.amazon.com/awis
-
Uncompress the zip file into a working directory
-
Run
php urlinfo.php ACCESS_KEY_ID SECRET_ACCESS_KEY site
If you are getting "Not Authorized" messages, you probably have one of the following problems:
-
Your access key or secret key were not entered properly. Please re-check that they are correct.
-
You did not sign up for the Alexa Web Information Service at http://aws.amazon.com/awis. (This step is separate from signing up for Amazon Web Services.)
-
Your credit card was not valid.
If you are getting "Request Expired" messages, please check that the date and time are properly set on your computer.
翻译:
- Alexa Web信息服务的PHP示例 -
此示例将向Alexa Web信息服务提出请求 使用您的访问密钥ID和秘密访问密钥。
用PHP 5.3.2测试。
脚步: 1.通过http://aws.amazon.com注册Amazon Web Services帐户 (请注意,您必须持有有效的信用卡) 2.获取您的访问密钥ID和秘密访问密钥 3.注册Alexa Web信息服务,网址为:http://aws.amazon.com/awis 4.将zip文件解压缩到工作目录中 5.运行
php urlinfo.php ACCESS_KEY_ID SECRET_ACCESS_KEY网站
如果你得到“未授权”消息,你可能有一个 以下问题:
您的访问密钥或密钥未正确输入。请重新检查 他们是正确的。
2.您没有注册Alexa Web信息服务 http://aws.amazon.com/awis。 (此步骤与签名分离 亚马逊网络服务“)。
3.您的信用卡无效。
如果您收到“请求已过期”消息,请检查日期 和时间在您的计算机上正确设置。