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