On the Padres' page, a message was posted that read: "Handicapped attendance strongly discouraged."
On the Yankees official news feed Thursday, there was a false item about star shortstop Derek Jeter undergoing a sex change. The Cubs' page contained an expletive directed at longtime Cubs fan and actor Bill Murray. The posts were removed shortly after appearing.
MLB released a statement that read: "For a brief moment today, a few MLB Club Facebook accounts were hacked and inappropriate material was briefly on display."
The league also said it is working with Facebook and legal authorities to determine what happened.
The pages of the Miami Marlins, Washington Nationals, San Francisco Giants and Chicago White Sox were also hacked.