リクエストトークンを取得できませんでした…。[$api_key]と[$callback_url]、そしてTwitterのアプリケーションに設定している[Callback URL]を確認して下さい。([Callback URLに設定されているURL]→https://textblog.minibird.jp/fornext/twi/sy_twi_c.php)
下記のデータを取得できました。
Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings
HTTP/1.1 403 Forbidden ml: P date: Thu, 25 Apr 2024 14:12:25 GMT perf: 7402827104 pragma: no-cache server: tsa_m status: 403 Forbidden expires: Tue, 31 Mar 1981 05:00:00 GMT set-cookie: guest_id_marketing=v1%3A171405434586604497; Max-Age=63072000; Expires=Sat, 25 Apr 2026 14:12:25 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: guest_id_ads=v1%3A171405434586604497; Max-Age=63072000; Expires=Sat, 25 Apr 2026 14:12:25 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: personalization_id="v1_8e1KAfYzz7yi3FrTMNTJRA=="; Max-Age=63072000; Expires=Sat, 25 Apr 2026 14:12:25 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None set-cookie: guest_id=v1%3A171405434586604497; Max-Age=63072000; Expires=Sat, 25 Apr 2026 14:12:25 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None content-type: application/xml;charset=utf-8 cache-control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 last-modified: Thu, 25 Apr 2024 14:12:25 GMT x-transaction: 1625334566f3457f content-length: 203 x-frame-options: SAMEORIGIN x-ua-compatible: IE=edge,chrome=1 x-transaction-id: 1625334566f3457f x-xss-protection: 0 x-content-type-options: nosniff x-twitter-response-tags: BouncerCompliant strict-transport-security: max-age=631138519 x-response-time: 102 x-connection-hash: 3418b2cf224dce0d2dc19e8d5a2841811ead1e7d7086e9a2e74e46a0a9e33a34
このアプリケーションとの連携を解除するには、下記ページより、行なって下さい。
https://twitter.com/settings/applications