リクエストトークンを取得できませんでした…。[$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: Tue, 16 Jun 2026 20:55:33 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%3A178164333326314060; Max-Age=63072000; Expires=Thu, 15 Jun 2028 20:55:33 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id_ads=v1%3A178164333326314060; Max-Age=63072000; Expires=Thu, 15 Jun 2028 20:55:33 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_+fnICqOfQ8ZpBqx0SLGJgw=="; Max-Age=63072000; Expires=Thu, 15 Jun 2028 20:55:33 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A178164333326314060; Max-Age=63072000; Expires=Thu, 15 Jun 2028 20:55:33 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: __cf_bm=vvi75wRJ33vEU_qXtfVM1UGJiX1_OwoRPzIZ6NP0X.o-1781643333.2130206-1.0.1.1-KdHAkOf.mIVEft_IGr4V2.nbs0FJP1x.keqQgU.ZIpjIoMDvHs5YgZmnMWS2zme42CP41i2Ja.V3BZPAhyv9_tuP5nZbu.13E0tuUmxgZee9wCObjEkdoKoh1CauhP2k; HttpOnly; Secure; Path=/; Domain=twitter.com; Expires=Tue, 16 Jun 2026 21:25:33 GMT Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Tue, 16 Jun 2026 20:55:33 GMT x-transaction: 6f1afc94acdfc7a0 x-frame-options: SAMEORIGIN vary: accept-encoding www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 6f1afc94acdfc7a0 x-xss-protection: 0 content-disposition: attachment; filename=json.json x-content-type-options: nosniff x-twitter-response-tags: BouncerCompliant x-response-time: 6 origin-cf-ray: a0ccb750985fd844-NRT strict-transport-security: max-age=631138519; includeSubdomains x-served-by: t4_p cf-cache-status: DYNAMIC CF-RAY: a0ccb750985fd844-NRT
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications