Refactored share_post