James Franco  found out the hard way this week that nothing is private  when it comes to social media. Of course, James isn't the only star who has run into trouble on Twitter or Instagram — everyone from Emma Roberts to Alec Baldwin  has gotten into a social snafu, whether they caused it or not. Read on for the don'ts of social media, brought to you by the stars themselves.
Source: Getty 
Don't Flirt With Teens on Instagram
Earlier this week, James Franco 's mack game went viral when his flirtation with a 17-year-old Scottish girl over Instagram was leaked online . While nothing happened between the two, the 35-year-old actor was seen asking if he should "get a hotel room" to meet up with the teen. He later called the incident  "embarrassing" and said that he had "learned his lesson."
Don't Upset Team Edward
In 2010, Emma Roberts became the subject of some intense Twilight fan bullying when she tweeted that she was "Team Jacob." Apparently, Team Edward fans didn't take kindly to this and harassed Emma so badly that she was forced to delete her Twitter account . (Don't worry, she eventually returned.)
Don't Confuse Twitter With a Private Text Message
Jason Segel  had an oopsie moment with Twitter back in 2011 when he accidentally sent out what he intended to be a text message to all of his followers. The tweet read, "Are you still up? Want to come over?" prompting many to accuse Jason of trying to make a booty call. He quickly deleted the tweet and claimed that he had been hacked .
Don't Give Out Your "Number" to Fans
Justin Bieber  nearly caused a Twitter riot in 2012 when he tweeted a number (minus the last digit) to his followers with the message, "Call me right now." Naturally, thousands of Beliebers dialed as many numbers as they could to get the right number, resulting in a massive headache for anyone with similar digits. One couple in Texas even filed a lawsuit against Justin  after they received over 1,000 calls.
Don't Tweet a Reaction to the News Before You've Read It
In 2011, Ashton Kutcher  indadvertedly caused a social media controversy when he tweeted support  for disgraced Penn State coach Joe Paterno after the football legend had been fired over his alleged inaction in responding to reports that his assistant coach, Jerry Sandusky, had sexually abused children. Ashton quickly tweeted an apology, writing, "Heard Joe was fired, fully recant previous tweet! Didn't have full story." He also later explained that he had only heard that Joe had been fired and, with no other information, had assumed it was something football-related.
Don't Tweet Out People's Private Addresses
Spike Lee learned the hard way that he shouldn't go around spreading people's personal information when he tweeted out what he thought was the home address of George Zimmerman to his 240,000 followers in February 2012. The address actually belonged to Elaine and David McClain, a couple with no connection to Zimmerman. He later deleted the tweet, publicly apologized, and reportedly paid the McClains $10,000, but the couple filed a lawsuit against the director  in November 2013 for failure to exercise reasonable care.
Don't Disobey Flight Attendant's Orders and Then Tweet About It
Alec Baldwin  launched a Twitter war with American Airlines after he was removed from a flight in 2011 when he refused to turn off his cellphone during takeoff. Apparently, Alec was playing Words With Friends  and wanted to finish his match. He tweeted that the airline lacked "common sense, style, and service" and that flight attendants have made flying "a Greyhound bus experience." American Airlines responded by saying Alec was "extremely rude" to the flight crew and had called them "inappropriate names." Alec later deleted his Twitter account.
Don't Post a Picture Without Doing a Double Check
Back in 2011, Dean McDermott indadvertedly tweeted what appeared to be then-wife Tori Spelling 's naked breasts while he was sharing a photo of one of his children. The NSFW photo  was quickly deleted, but it was up long enough to get captured by Dean's followers and passed around online.
Don't Accidentally Leak Your Sexy Selfies
In 2010, Paramore's Hayley Williams accidentally uploaded a topless selfie of herself  to Twitter. She later claimed that her account was hacked and had the photo immediately taken down.
Don't Confuse "Tweet" With "Delete"
Alison Pill became an accidental oversharerer in 2012 when she mistakenly posted a topless selfie of herself  (NSFW) on Twitter. She soon deleted the picture and owned up to her mistake, writing, "Yep. That picture happened. Ugh. My tech issues have now reached new heights, apparently. How a deletion turned into a tweet . . . Apologies."
Don't Tell the World About Your Drake Fantasies
Amanda Bynes  made headlines when she tweeted in 2013 that she wanted Drake to "murder" her private parts. Unfortunately the tweet was just the beginning of Amanda's bizarre behavior, leading her to eventually seek treatment for mental issues. She is now allegedly "mortified" over the infamous tweet , and we can understand why!