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