リクエストトークンを取得できませんでした…。[$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: Sat, 06 Dec 2025 01:47:40 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 Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Sat, 06 Dec 2025 01:47:40 GMT x-transaction: 26ffeacc216ed59b Set-Cookie: guest_id_marketing=v1%3A176498566015505297; Max-Age=63072000; Expires=Mon, 06 Dec 2027 01:47:40 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id_ads=v1%3A176498566015505297; Max-Age=63072000; Expires=Mon, 06 Dec 2027 01:47:40 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_xhW7kDKwNuuvD3TF18x8yA=="; Max-Age=63072000; Expires=Mon, 06 Dec 2027 01:47:40 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A176498566015505297; Max-Age=63072000; Expires=Mon, 06 Dec 2027 01:47:40 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: __cf_bm=LIhPNeyiQCApRcCw2iejS4LIXzNqIMs.9X2oVMwCGPU-1764985660.095049-1.0.1.1-7kLslFkl8odHcL.hvlRy.CtlDWkWPpw0NBO7mEbRxR5UDH9Fpl3bcRQqBcHf6KIPBd..hUcw3ji8tl07a8yAegBzgfz_bkCLeE4SIQfzK7xqo78LraSSnO6.JCzTC4ID; HttpOnly; Secure; Path=/; Domain=twitter.com; Expires=Sat, 06 Dec 2025 02:17:40 GMT x-frame-options: SAMEORIGIN cf-cache-status: DYNAMIC www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 26ffeacc216ed59b x-xss-protection: 0 content-disposition: attachment; filename=json.json x-content-type-options: nosniff x-twitter-response-tags: BouncerCompliant x-response-time: 8 origin-cf-ray: 9a981dd79dddd787-SEA strict-transport-security: max-age=631138519; includeSubdomains x-served-by: t4_p vary: accept-encoding CF-RAY: 9a981dd79dddd787-NRT
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications