イーロン・マスクCEO率いるTwitterで敷かれていたマストドンURL禁止令が解除されました。 Twitter上にあるマストドン公式アカウント@joinmastodonが凍結され、さらには主要マストドンサーバ上での投稿やサーバのURLがTwitterで表示不可になったのが12月16日。 Twitterイーロン王の怒りが降りかかった?マストドン公式アカは凍結され、僕のマストドンサーバは有害認定(CloseBox) | テクノエッジ TechnoEdge
これだけで使えるようになります。 初期設定 ますどんのインスタンスと連携 ここを参考にして下さい Twitterの設定 Twitterのニュースを取得するには隠しAPIのnews/topを使います。 恐らくリクエストには公式APIキーが必要なのでこことかで公式APIキーを取得しましょう。 コード こうなりました。 import json from mastodon import Mastodon from requests_oauthlib import OAuth1Session, OAuth1 ck = "IQKbtAYlXLripLGPWd0HUA" cs = "GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU" at = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ats = "xxxxxxxx
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く