https://github.com/xi-plus/nkust-score
NKUST成績公布轉發Facebook/Telegram
https://github.com/xi-plus/nkust-score
facebook-bot nkust telegram-bot
Last synced: 7 months ago
JSON representation
NKUST成績公布轉發Facebook/Telegram
- Host: GitHub
- URL: https://github.com/xi-plus/nkust-score
- Owner: Xi-Plus
- License: mit
- Created: 2017-06-27T09:04:43.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-23T14:09:57.000Z (almost 7 years ago)
- Last Synced: 2024-12-28T09:19:18.500Z (over 1 year ago)
- Topics: facebook-bot, nkust, telegram-bot
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# KUAS-Score
KUAS成績公布轉發Facebook動態
## Installation
1. 下載此專案
2. 複製 ```config.sample.php``` 至 ```config.php```
1. 設定 ```FBtoken``` 為欲發文的 Facebook 帳號 Access Token(可從[Access Token Tool - Facebook for Developers](https://developers.facebook.com/tools/accesstoken/)取得)
2. 設定 ```uid``` 為你的學號
2. 設定 ```pwd``` 為你的校務系統密碼
2. 設定 ```year``` 為欲取得的學期
2. 設定 ```semester``` 為欲取得的段考,1 為期中考,2 為期末考
3. 第一次執行 ```php index.php``` 會自動產生 ```data.json``` 和 ```cookie.txt```
4. 設定執行 ```php index.php``` 的排程
5. 完成