- ターゲットとなる人の最新のトゥートの「今」とか「xx分前」とかあたりをおす。
- URLにくっついてるたくさんの数字を https://mstdn.jp/api/v1/statuses/[番号] にしてブラウザでアクセス。
- JSONデータの accountの中のstatuses_countが多分それ
未確認だけどそれっぽい数字がでてるのでたぶんあってる。
curlとjqコマンドが必要です。
$ curl -s https://mstdn.jp/api/v1/statuses/100271044536676901 | jq -r .account.statuses_count