18-year-old teen takes to Facebook to confess the alleged murder of her boyfriend. Reuters

A woman in California is in hiding after using Facebook to apparently confess to the murder of her boyfriend. Nakasia James, 18, of San Bernardino allegedly stabbed and killed her boyfriend after an altercation and used social media to tell her side of the story.

The police are currently looking for James who posted onto Facebook: "Last night, my ex was drunk ... was fighting me... hit me in the face... and I get the knife and stabbed him. Didn't think I would hurt him. Sorry, lord, hopefully you forgive me, and sorry, Dorian Powell. RIP."

According to ABC 7 news a witness claimed there had been a fight between James and the victim Dorian Powell, 21, who allegedly had been violent towards her, and gunshots had been fired prior to the stabbing. Whether it was a pre-meditated act or self-defence is unknown, however apartment manager Melissa De Los Santos, who narrowly missed being caught up in the line of fire, said: "I'm sure it was in retaliation [to] the victim," reported ABC 7 news.

The report also claims James' mother told De Los Santos her daughter "had bruises on her face and she had pictures of that. He was being physically violent towards her".

The Facebook post has since been deleted but investigators of the San Bernardino Police Department are said to be monitoring James' page for any clues to her whereabouts as well as any indication of the events that led up to the stabbing.

It's not the first time Facebook has been used to admit severe crimes, with one man in Canada admitting to killing his wife and family in May 2015, as well as another case in where a man in Florida confessed to allegedly killing his wife and even posting the photo of her body.