リクエストトークンを取得できませんでした…。[$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: Tue, 06 Jun 2023 00:01:44 GMT perf: 7626143928 pragma: no-cache server: tsa_m status: 401 Unauthorized expires: Tue, 31 Mar 1981 05:00:00 GMT set-cookie: guest_id_marketing=v1%3A168600970411562288; Max-Age=63072000; Expires=Thu, 05 Jun 2025 00:01:44 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: guest_id_ads=v1%3A168600970411562288; Max-Age=63072000; Expires=Thu, 05 Jun 2025 00:01:44 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: personalization_id="v1_XC3knGqjS6Dh3x+2Mp6wOw=="; Max-Age=63072000; Expires=Thu, 05 Jun 2025 00:01:44 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: guest_id=v1%3A168600970411562288; Max-Age=63072000; Expires=Thu, 05 Jun 2025 00:01:44 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None content-type: application/json; charset=utf-8 cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Tue, 06 Jun 2023 00:01:44 GMT x-transaction: 48bd0bcf40920e84 content-length: 64 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 48bd0bcf40920e84 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: 97 x-connection-hash: 8b34d285aaddd84344091892d315073c7d309730759258a00c88c658ccb38f81
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications