リクエストトークンを取得できませんでした…。[$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: Sun, 31 Aug 2025 01:58:20 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Server: cloudflare CF-Ray: 9778ec163e0c96af-KIX CF-Cache-Status: DYNAMIC Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 Content-Disposition: attachment; filename=json.json Expires: Tue, 31 Mar 1981 05:00:00 GMT Last-Modified: Sun, 31 Aug 2025 01:58:19 GMT Set-Cookie: guest_id_marketing=v1%3A175660549996165258; Max-Age=63072000; Expires=Tue, 31 Aug 2027 01:58:19 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id_ads=v1%3A175660549996165258; Max-Age=63072000; Expires=Tue, 31 Aug 2027 01:58:19 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_p4vbDXrSTutCqBrRMh8gUQ=="; Max-Age=63072000; Expires=Tue, 31 Aug 2027 01:58:19 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A175660549996165258; Max-Age=63072000; Expires=Tue, 31 Aug 2027 01:58:19 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: __cf_bm=onbzTdr7m1OzXEv.PSDbIbvwVOYznmE3AtYKgFqJhBQ-1756605500-1.0.1.1-ZIys0_J57pbFMM22dePcfguA_cnXT5bF2BR69vZ7jhQTVZZ77rS2eGZxadSnYpMPbZrvetlhmkFbPQfDlMSdvjALJpI4NduhRCHuGDZCT1Q; path=/; expires=Sun, 31-Aug-25 02:28:20 GMT; domain=.twitter.com; HttpOnly; Secure Strict-Transport-Security: max-age=631138519; includeSubdomains Vary: accept-encoding WWW-Authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 Pragma: no-cache origin-cf-ray: 9778ec16570796af-KIX perf: 7402827104 status: 401 Unauthorized x-connection-hash: 728f92939c1dc22f155d23ed4db9bfec8af85a3aa12d0d32c42d035a3ce36aa3 x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-response-time: 5 x-transaction: 8e15c8c697b9758d x-transaction-id: 8e15c8c697b9758d x-twitter-response-tags: BouncerCompliant x-xss-protection: 0
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications