リクエストトークンを取得できませんでした…。[$api_key]と[$callback_url]、そしてTwitterのアプリケーションに設定している[Callback URL]を確認して下さい。([Callback URLに設定されているURL]→https://syncer.jp/script/oauth/twitter.php?scope=read)
下記のデータを取得できました。
{"errors":[{"code":32,"message":"Could not authenticate you."}]}
HTTP/1.1 401 Unauthorized date: Wed, 24 Apr 2024 20:46:21 GMT perf: 7402827104 pragma: no-cache server: tsa_m status: 401 Unauthorized expires: Tue, 31 Mar 1981 05:00:00 GMT set-cookie: guest_id=v1%3A171399158182727114; Max-Age=34214400; Expires=Sun, 25 May 2025 20:46:21 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: Wed, 24 Apr 2024 20:46:21 GMT x-transaction: 565150171c8dc4bc content-length: 64 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 565150171c8dc4bc 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: 96 x-connection-hash: 068c51e8f54ff18765cd41e7c62f10b2e8bcc4c6c6dde95d92e4f875ffbf20a6
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications