狐の王国 いまさらTwitter repliesなRSSがあることに気づいたのでPlaggerでチェックするようにした 確かにリプライに気づかないことがたまにあるので、チェックして知らせる仕組みがあれば、貴重なコミュニケーションの機会を逃さなくなるなぁと思い、上記を参考にして導入することにしました。 ただし、iPhoneに知らせるようにしたら、より早くリプライに気づけるので、im.kayac.comを経由してメッセージをPOSTするプラグインを書いて、リプライを通知することにしました。 作成したプラグインとconfig.yaml プラグインの中身を簡単に解説します。 用意しているのは、initialize関数とnotify関数です。 config.yamlにusernameが指定されてないとPOSTすべきURLがわからないので、initialize関数でチェックして、指定されてなければエラ