リクエストトークンを取得できませんでした…。[$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: Wed, 18 Mar 2026 13:08:54 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive perf: 7402827104 pragma: no-cache Server: cloudflare envoy status: 401 Unauthorized expires: Tue, 31 Mar 1981 05:00:00 GMT Set-Cookie: guest_id_marketing=v1%3A177383933395976496; Max-Age=63072000; Expires=Fri, 17 Mar 2028 13:08:53 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id_ads=v1%3A177383933395976496; Max-Age=63072000; Expires=Fri, 17 Mar 2028 13:08:53 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_DT84TkpQvPrrwhKbRMOGzQ=="; Max-Age=63072000; Expires=Fri, 17 Mar 2028 13:08:53 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A177383933395976496; Max-Age=63072000; Expires=Fri, 17 Mar 2028 13:08:53 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: __cf_bm=PaXKuhW7OgC23QHFNVcpNZyRShuEMqoiB9.7mU7TrOs-1773839333.8921468-1.0.1.1-YtTuKCJJojDX4XwBL60N8yUjMic2SxhyHAus.d33.ZCk8Bf8hfP5X2UQtxLlx_Q4TlRVc0_UJ1bEZ3Gtz7r.qDmvSudIn1q7z3x4h5s.6lARAwGe8Cm5NAS67DJfyHOb; HttpOnly; Secure; Path=/; Domain=twitter.com; Expires=Wed, 18 Mar 2026 13:38:54 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Wed, 18 Mar 2026 13:08:53 GMT x-transaction: 08a8252f17dd01e6 x-frame-options: SAMEORIGIN vary: accept-encoding www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 08a8252f17dd01e6 x-xss-protection: 0 content-disposition: attachment; filename=json.json x-content-type-options: nosniff x-twitter-response-tags: BouncerCompliant x-response-time: 7 origin-cf-ray: 9de477fcdb64a608-NRT strict-transport-security: max-age=631138519; includeSubdomains x-served-by: t4_p cf-cache-status: DYNAMIC CF-RAY: 9de477fcdb64a608-NRT
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications