Would it not be easier for all of these "social media" companies to make a simple rule:
No person in public office may have an active account with us. Any person in active public office or who is running for public office shall immediately have their account locked and hidden. Accounts shall be restored after leaving public office or withdrawing from an election for public office. Public office shall be defined as any post that is paid for by a tax levy.
No discrimination - a simple refusal to provide free advertising for politicians of any color/creed/faith.