リクエストトークンを取得できませんでした…。[$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: Thu, 03 Jul 2025 00:19:11 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive perf: 7402827104 pragma: no-cache status: 401 Unauthorized expires: Tue, 31 Mar 1981 05:00:00 GMT Set-Cookie: guest_id_marketing=v1%3A175150195132400203; Max-Age=63072000; Expires=Sat, 03 Jul 2027 00:19:11 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Thu, 03 Jul 2025 00:19:11 GMT x-transaction: 3a0c8ba44a39b4a9 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 3a0c8ba44a39b4a9 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 x-response-time: 5 x-connection-hash: 71855a08510b450e8cc734972767b85fb65eef35d4ad3e5ed090da2f5269b761 vary: accept-encoding cf-cache-status: DYNAMIC Set-Cookie: guest_id_ads=v1%3A175150195132400203; Max-Age=63072000; Expires=Sat, 03 Jul 2027 00:19:11 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_Odopusq/Ng+jY4+Gr87EaQ=="; Max-Age=63072000; Expires=Sat, 03 Jul 2027 00:19:11 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A175150195132400203; Max-Age=63072000; Expires=Sat, 03 Jul 2027 00:19:11 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: __cf_bm=AXflr1nkYeMK9aoLPp1vCjWRVVNrj8mMKteVWhIZHNc-1751501951-1.0.1.1-AXSxlLp01Xs43AI1jBM._VObN.ETE7yHD7Ox4qQFv8L6OX.XiXZHdkI7oxzKoEf4vngKF_Ex.SUDzbHjaWAEIsc6WvbIs18MU.ueCgSUnqM; path=/; expires=Thu, 03-Jul-25 00:49:11 GMT; domain=.twitter.com; HttpOnly; Secure Server: cloudflare tsa_p CF-RAY: 959235bb682c834a-KIX
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications