xboxleaders / xboxlivestatus
监控Xbox LIVE服务警报,如果存在服务警报则发布到Twitter
dev-master
2013-07-26 09:00 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 3.7.x
This package is not auto-updated.
Last update: 2024-09-23 14:18:25 UTC
README
将Xbox LIVE服务警报发布到Twitter
要求
- 运行PHP 5.4.0或更高版本的web服务器
- 安装了cron的web服务器
- 用于发布更新的Twitter账户
- Twitter应用程序
创建Twitter应用程序
- 访问http://dev.twitter.com
- 点击“注册应用”
- 填写表单以注册应用程序 * 应用类型:浏览器 * 回调URL:http://www.example.com/status/index.php * 默认访问类型:读 & 写
- 接受使用条款
- 您将收到您的消费者和访问密钥
安装
- 获取Composer
- 安装库
php composer.phar xboxleaders/xboxlivestatus
- 安装依赖
php composer.phar install
- 设置cron
0 * * * * wget -O /dev/null http://www.example.com/status/index.php