citytweets is a Twitter/Mastodon retweet bot currently powering @luebbecketweets, @mindentweets, and more.
citytweets is a Twitter and Mastodon repost bot currently powering my accounts listed below. In addition to my accounts, it also powers @TweetsFuerMiLB, which is not owned by me.
It reposts everything the search finds. It is intended to be used with searches like
@mindentweets so that everyone
can at-mention the account
@mindentweets and will get a repost, thus reach every follower of
The bot’s own Twitter account can be found at @citytweets_bot. The respective Mastodon account is hosted on troet.cafe/@citytoots1.
For some calls it still relies on the deprecated Twitter API 1.1. For calls to this API it uses Twitter4J, which does not seem to be maintained anymore as well. For other calls, and especially the calls that actually search for new tweets, it already relies on the new Twitter API 2.0 to which I got early access. These calls are made without any library help. Further migration will happen over time.
On February 2nd 2023, Twitter announced the deprecation of their v1.1 and v2 APIs effective February 9th.
Starting February 9, we will no longer support free access to the Twitter API, both v2 and v1.1. A paid basic tier will be available instead 🧵— Twitter Dev (@TwitterDev) February 2, 2023
These are the two APIs citytweets relies on to work for Twitter, so unless Twitter changes that policy, any Twitter retweet account will stop working on that date.
The important parts of the Mastodon API are implemented. It currently still relies on parsing its followers’ toots and reposting those in case there is a mention, instead of using the search including webfinger lookup.
|@badoeyntweets||Bad Oeynhausen Tweets||twitter.com/badoeyntweets||Active|
|@portatweets||Porta Tweets||twitter.com/portatweets||Inactive, profile exists|
|@hilletweets||Hille Tweets||twitter.com/hilletweets||Inactive, profile exists|
|@rahdentweets||Rahden Tweets||twitter.com/rahdentweets||Inactive, profile exists|
|Mastodon||@badoeyntoots||Bad Oeynhausen Toots||nrw.social/@badoeyntoots||Active|
fosstodon.org/@citytoots</a> but had to be moved, as fosstodon.org’s Code Of Conduct does not allow posts in German language.
It was originally hosted on ↩