Problem
Currently if someone publishes something by accident they need to:
- Log into the designated platform (e.g. instagram) and delete the post manually
- Copy the "published" post to edit it and publish again
This leaves a ghost published post in the trypost database.
Proposed solution
Both functions should require some sort of confirmation (This will delete the post from $channel_name. Are you sure?)
Unpublish post function
Actually deletes the post from the social media while deleting only the remote information locally (e.g. publish date, social_media_post_id, etc) reverting it back to draft status.
Delete post function
Extend the post delete function to delete the post from the social media AND locally.
Problem
Currently if someone publishes something by accident they need to:
This leaves a ghost published post in the trypost database.
Proposed solution
Both functions should require some sort of confirmation (This will delete the post from
$channel_name. Are you sure?)Unpublish post function
Actually deletes the post from the social media while deleting only the remote information locally (e.g. publish date, social_media_post_id, etc) reverting it back to draft status.
Delete post function
Extend the post delete function to delete the post from the social media AND locally.