リクエストトークンを取得できませんでした…。[$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 Sep 2025 02:29:12 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Server: cloudflare CF-Ray: 97fcef4efa9eb34a-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: Tue, 16 Sep 2025 02:29:12 GMT Set-Cookie: guest_id_marketing=v1%3A175798975223952762; Max-Age=63072000; Expires=Thu, 16 Sep 2027 02:29:12 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id_ads=v1%3A175798975223952762; Max-Age=63072000; Expires=Thu, 16 Sep 2027 02:29:12 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: personalization_id="v1_pvJMluVfblEBU8Rua95o0g=="; Max-Age=63072000; Expires=Thu, 16 Sep 2027 02:29:12 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: guest_id=v1%3A175798975223952762; Max-Age=63072000; Expires=Thu, 16 Sep 2027 02:29:12 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Set-Cookie: __cf_bm=3tJpFYpGzMdVlsauzgQNPS0nlltZccEcnnPVbDK0xzA-1757989752-1.0.1.1-CjvRnIun7JQKtgT3xUWD4wxn7qIntAK7brdAh0hmL6YE2VgjYyhiHrGCOazXjIx0COw1VCp6VpLHotJXXz7k48WgazAF25UnMe2p3o.kw0g; path=/; expires=Tue, 16-Sep-25 02:59:12 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: 97fcef4f15dbb34a-KIX perf: 7402827104 status: 401 Unauthorized x-connection-hash: 3b0d0b0e04a8707e75cf0b01ef7dce111793f3a6f6776f19244aa4049a23eb1d x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-response-time: 6 x-transaction: f86e4f379fb16a00 x-transaction-id: f86e4f379fb16a00 x-twitter-response-tags: BouncerCompliant x-xss-protection: 0
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications