LoginSignup
7

More than 3 years have passed since last update.

posted at

Google Apps ScriptからTwitterのAPIを叩けなくなったら

はじめに

TwitterWebService ライブラリ を使ってTwitterの情報を取得していたのですが、2018年6月13日から、情報取得できなくなっていました。Twitter側の仕様変更により、Callback URLを設定する必要が生じました。
今回、解決方法がわかったので記しておきます。

解決方法

TwitterのApplication ManagerでCallback URLに以下を追加する必要があります。

https://script.google.com/macros/d/{Google Apps ScriptのスクリプトID}/usercallback

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
What you can do with signing up
7