リクエストトークンを取得できませんでした…。[$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: Tue, 07 May 2024 23:50: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%3A171512582143186611; Max-Age=34214400; Expires=Sat, 07 Jun 2025 23:50: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: Tue, 07 May 2024 23:50:21 GMT x-transaction: 65bdee38b4596261 content-length: 64 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 65bdee38b4596261 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: 32ea6234f95f3534b24600f37802dbbf1ae054cffcf42a483086c3a3aba18fce
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications