This is a Bot for broadcasting weather in Taipei on Plurk. Here is the bot account on Plurk: http://www.plurk.com/taipei_weather
How to Use
- Find a web hosting that provides php hosting.
- Upload all the files to the server.
- Register a Plurk App and retrieve the App Key and App Secret.
- Register a Imgur App and retrieve the App Key.
- Edit config.sample.php, enter your Plurk App Key, App Secret, User Token and User Token Secret.
- Edit config.sample.php, enter your Imgur App Key.
- Edit config.sample.php, set a authorization token.
- Rename config.sample.php to config.php.
- Add cron jobs as following.
All cron jobs are GET requests, with Authorization header with value set in previous section.
- now.php: This file adds new plurk that indicates the weather status right now. Execute this file once an hour.
- helper.php: This file adds new plurk that indicates weather forast. Execute this every 12 hours.
- bing.php: This file adds new plurk of Bing Wallpaper.