LoginSignup
2
2

More than 5 years have passed since last update.

The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview

Posted at

ログイン用と登録用でAPI対応に抜けがあったために遅れて発現したエラーでした。

opauthを利用していたのですが、ストラテジーファイルとか、設定ファイルの

'verify_credentials_json_url' => 'https://api.twitter.com/1/account/verify_credentials.json',

'verify_credentials_json_url' => 'https://api.twitter.com/1.1/account/verify_credentials.json',

に変更して対応。

'oauth_version' => '1.0',
を間違って
'oauth_version' => '1.1',

にしちゃったりもしたけど、こっちは関係ないので現状維持で。

2
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2