andrlik / django-post-later

A simple django app for scheduling posts for Twitter, Mastodon, and others.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Media Uploads for scheduled statuses #6

Open andrlik opened 1 year ago

andrlik commented 1 year ago

Models for handling media uploads that will be attached to scheduled status updates.

andrlik commented 1 year ago

I originally wanted to have a single upload model, but the challenges involved in doing that seem like that's me trying to be too clever.

Two options:

Currently leaning towards option one, but that feels ugly to me.

andrlik commented 1 year ago

Also have to decide how we want to track where the files are already published. For example, to schedule a post in Mastodon, you need to upload the media and submit the post with the scheduled time in advance.

For Twitter, due to API limitations, you need to wait to upload the media and post the status until publish time.

For Instagram, if we do that, you need to store it locally until publish time, and (if not video content) needs to be a curl-able square jpeg exposed publicly.