リクエストトークンを取得できませんでした…。[$api_key]と[$callback_url]、そしてTwitterのアプリケーションに設定している[Callback URL]を確認して下さい。([Callback URLに設定されているURL]→https://textblog.minibird.jp/ohmtweets/sy_twi_c.php)
下記のデータを取得できました。
{"errors":[{"code":32,"message":"Could not authenticate you."}]}
HTTP/1.1 401 Unauthorized Date: Fri, 17 Oct 2025 21:17:34 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive perf: 7402827104 pragma: no-cache Server: cloudflare tsa_p status: 401 Unauthorized expires: Tue, 31 Mar 1981 05:00:00 GMT vary: accept-encoding Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Fri, 17 Oct 2025 21:17:34 GMT x-transaction: 25bff3bcadf1e3e9 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 25bff3bcadf1e3e9 x-xss-protection: 0 content-disposition: attachment; filename=json.json x-content-type-options: nosniff x-twitter-response-tags: BouncerCompliant strict-transport-security: max-age=631138519; includeSubdomains origin-cf-ray: 9902d2d21c15cffc-KIX x-served-by: tsa_p x-response-time: 6 x-connection-hash: cf7106ae3cfb978cf8026cd651c8623fba4a39f59a873d0fed10c7e069ebbfb7 cf-cache-status: DYNAMIC Set-Cookie: guest_id_marketing=v1%3A176073585448543371; SameSite=None; Secure; Path=/; Domain=twitter.com; Max-Age=63072000; Expires=Sun, 17 Oct 2027 21:17:34 GMT Set-Cookie: guest_id_ads=v1%3A176073585448543371; SameSite=None; Secure; Path=/; Domain=twitter.com; Max-Age=63072000; Expires=Sun, 17 Oct 2027 21:17:34 GMT Set-Cookie: personalization_id="v1_N6T+1jhXoPzIFGxjP5UJ2A=="; SameSite=None; Secure; Path=/; Domain=twitter.com; Max-Age=63072000; Expires=Sun, 17 Oct 2027 21:17:34 GMT Set-Cookie: guest_id=v1%3A176073585448543371; SameSite=None; Secure; Path=/; Domain=twitter.com; Max-Age=63072000; Expires=Sun, 17 Oct 2027 21:17:34 GMT Set-Cookie: __cf_bm=r89s_Sc2_Wb5prEY4.MFBgcXvmN6JUaIcjkKqke_B98-1760735854.4156568-1.0.1.1-9MpABFB.UVRu5oi0ywCSGjmWQw0Mu_9bbpgS6C.Hfe2GIQzAHfH6I3din53rVRPwC_HYxnbwZKofypBf8zIvbdmw5nUBkaslbvTUTJp1K1yPJsq0JRdqsUkqH9ct4oMo; HttpOnly; Secure; Path=/; Expires=Fri, 17 Oct 2025 21:47:34 GMT CF-RAY: 9902d2d21c15cffc-KIX
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications