Twitter Inc. and Facebook Inc. have both sparked the ire of Donald Trump, but the social networks have taken nearly opposite approaches to politics and the president.

While Twitter this week slapped unprecedented fact-checks on presidential tweets, Facebook has adopted a more hands-off strategy, saying it wants to be the online equivalent of the public square, shying away from judging which politicians’ statements are true and which are false.

In spite of Facebook’s strategy of accommodation, Trump named both companies in an executive order Thursday aimed at limiting liability protections for users’ posts.