[What you need to know to start the day: Get New York Today in your inbox.]

President Trump and Representative Alexandria Ocasio-Cortez are diametrical opposites in nearly every way, except perhaps for their shared home state of New York and their social media dominance.

But now there may be another thing that binds the two: a federal appeals panel ruling on Tuesday found that Mr. Trump, a Republican, has been violating the Constitution by blocking people from following him on Twitter because they criticized or mocked him.

That ruling is now the basis of two lawsuits filed against Ms. Ocasio-Cortez, a Democrat, accusing her of blocking people because of their opposing political stances.

Ms. Ocasio-Cortez has 4.7 million followers on her personal Twitter account, @AOC, which she uses to frequently discuss policy and advocate her proposals, such as the Green New Deal and her belief that the camps holding children and other undocumented immigrants seeking asylum at the Texas border are “concentration camps.”