Untitled attachment
https://static.noauthority.social/media_attachments/files/116/186/063/391/656/420/original/b395e074b0cab6f1.png
Updated my #python #Mastodon Toot #Deleter to accept Y-m-d dates as well as 'n days ago' to date bracket a given hashtag's toots to be deleted. It already skips favorited, bookmarked, pinned 1s.
mastodon.fetch_next() won't page if you pass account_statuses() both args max_id & min_id. You only get 1st (max_id's most recent) page. Args can be Toot ID's or datetimes as I do here. Instead set max_id & check for min_id (a stop date) vs each toot['created_at'] date in your process loop to end a run.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.