This is true.
Jan's actions are indeed protected by the First Amendment to the Constitution, which protects free speech. Jan felt betrayed and hurt by her boyfriend and she didn't do anything illegal by posting unflattering photos and writing bad things about him. What she did is morally and ethically wrong, but not illegal.