X (Twitter) — панель управления
Тестовое приложение для @ooooooookke. Без авторизации — только для тестов.
OAuth 2.0 токены
Действия
API endpoints
GET https://x.otovelo.pl/api/token— текущий tokenPOST https://x.otovelo.pl/api/refresh— refreshGET https://x.otovelo.pl/api/me— проверка аккаунтаPOST https://x.otovelo.pl/api/tweet— опубликовать (body: text=...)
Cron
*/30 * * * * cd /home/otovelo-x/htdocs/x.otovelo.pl && php yii twitter/run
Новый пост / новость
Очередь постов
| Id | Текст поста | Статус | Tweet ID | Создан | |
|---|---|---|---|---|---|
No results found. | |||||
Лог API
Showing 1-9 of 9 items.
| Id | Action | Http Code | Success | Created At | Response |
|---|---|---|---|---|---|
| 9 | refresh_token | 400 | FAIL | 2026-06-17 00:15:18 | response{"error":"invalid_client","error_description":"Value passed for the client id was invalid."} |
| 8 | get_me | 401 | FAIL | 2026-06-17 00:15:15 | response{
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
} |
| 7 | refresh_token | 400 | FAIL | 2026-06-17 00:14:41 | response{"error":"invalid_client","error_description":"Value passed for the client id was invalid."} |
| 6 | get_me | 401 | FAIL | 2026-06-17 00:14:41 | response{
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
} |
| 5 | refresh_token | 400 | FAIL | 2026-06-17 00:14:39 | response{"error":"invalid_client","error_description":"Value passed for the client id was invalid."} |
| 4 | get_me | 401 | FAIL | 2026-06-17 00:14:39 | response{
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
} |
| 3 | refresh_token | 400 | FAIL | 2026-06-17 00:09:13 | response{"error":"invalid_client","error_description":"Value passed for the client id was invalid."} |
| 2 | get_me | 401 | FAIL | 2026-06-17 00:08:14 | response{
"title": "Unauthorized",
"type": "about:blank",
"status": 401,
"detail": "Unauthorized"
} |
| 1 | refresh_token | 400 | FAIL | 2026-06-17 00:08:06 | response{"error":"invalid_client","error_description":"Value passed for the client id was invalid."} |