リクエストトークンを取得できませんでした…。[$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: Mon, 31 Mar 2025 22:26:05 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%3A174345996519095180; Max-Age=63072000; Expires=Wed, 31 Mar 2027 22:26:05 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Mon, 31 Mar 2025 22:26:05 GMT x-transaction: 049ab9260215a6a2 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 049ab9260215a6a2 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 x-response-time: 6 x-connection-hash: 886c7537df9d27a7aa0be3c0f51ffd999c0022955b4d855354c85abe9b21d2eb cf-cache-status: DYNAMIC vary: accept-encoding Set-Cookie: guest_id_ads=v1%3A174345996519095180; Max-Age=63072000; Expires=Wed, 31 Mar 2027 22:26:05 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_6yGbpXQCr1bdik6pTDv4+Q=="; Max-Age=63072000; Expires=Wed, 31 Mar 2027 22:26:05 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A174345996519095180; Max-Age=63072000; Expires=Wed, 31 Mar 2027 22:26:05 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: __cf_bm=eIcFsmpvJbE3ToCWBiYyJa.QW0sMaumffOJNzxZ6GBU-1743459965-1.0.1.1-VdjUaAIisHLmfYjS6sPvwgqojhcLCPb7PD5Z_M022rXMXSCErrbp0bttpgAjxlp9kXTlcyiIU1dqjnKDHLjajGtFIU8ja6ZNFfALKAbKgrU; path=/; expires=Mon, 31-Mar-25 22:56:05 GMT; domain=.twitter.com; HttpOnly; Secure Server: cloudflare tsa_p CF-RAY: 9293442ded8b9647-KIX
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications