リクエストトークンを取得できませんでした…。[$api_key]と[$callback_url]、そしてTwitterのアプリケーションに設定している[Callback URL]を確認して下さい。([Callback URLに設定されているURL]→https://syncer.jp/script/oauth/twitter.php?scope=read)
下記のデータを取得できました。
{"errors":[{"code":32,"message":"Could not authenticate you."}]}
HTTP/1.1 401 Unauthorized Date: Sat, 19 Apr 2025 12:24:01 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive perf: 7402827104 pragma: no-cache status: 401 Unauthorized expires: Tue, 31 Mar 1981 05:00:00 GMT Set-Cookie: guest_id=v1%3A174506544105312058; Max-Age=34214400; Expires=Wed, 20 May 2026 12:24:01 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Sat, 19 Apr 2025 12:24:01 GMT x-transaction: 684adf5ceca46d46 x-frame-options: SAMEORIGIN www-authenticate: OAuth realm="https://api.twitter.com", api_error_code=32 x-transaction-id: 684adf5ceca46d46 x-xss-protection: 0 content-disposition: attachment; filename=json.json x-content-type-options: nosniff x-twitter-response-tags: BouncerCompliant strict-transport-security: max-age=631138519 x-response-time: 7 x-connection-hash: 0eb7310cf402162796f4027d6bb44e14ef89f04b16119f8623755889f8336c6e cf-cache-status: DYNAMIC vary: accept-encoding Set-Cookie: __cf_bm=E3.PgsbHlHfYO830PsTu15GipxNXThH_SzckcvYBGto-1745065441-1.0.1.1-5lQYo6.z9aiXNav.IDLT6rRmT4_cXAUaqq0ylgrLv2Ft0vmdNsCrDM2ARievc46VHF.wg95rlKh10SsNUrIjCKeRN5AxfX2C5V0q0g23.2k; path=/; expires=Sat, 19-Apr-25 12:54:01 GMT; domain=.twitter.com; HttpOnly; Secure Server: cloudflare tsa_p CF-RAY: 932c605e2a7efcbf-NRT
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications