2 men were arrested after allegedly stalking a woman and broadcasting it on Periscope

With social media apps like Instagram, Twitter, and Snapchat encouraging us to share our every move, some people feel comfortable broadcasting their most intimate moments, like the birth of their child, with the world.

But don't get too comfortable, i.e., if you're committing a crime, perhaps its best to not livestream your behavior for the world to see.

That's the the lesson 2 men from Sacramento, California learned last week when they were arrested after allegedly stalking one man's ex-girlfriend and streaming it to anyone tuning in on livestream app Periscope, reports CBS Sacramento.

28-year-old Damon Batson and 25-year-old Carlos Gonzalez are believed to be the 2 men in the hour-long video, which has since been removed from the platform.

In the video, you watch 2 men drive around Sacramento, brandishing a gun and telling viewers they planned to visit a woman in an attempt to catch her with another man.

"If I didn't think I would get in trouble with the law, n—- I would Periscope everything," the man police believe to be Gonzalez told viewers in the Periscope video.

CBS showed clips from video before it was removed — we've reached out to Periscope for more details but have not heard back.

The police obtained a search warrant and found the gun they believe was used in the video and booked Gonzalez on suspicion of gross negligent discharge of a firearm and possession of a loaded gun in public and Batson on marijuana charges as well as possession of a controlled substance while armed with a loaded gun and receiving stolen property and weapons violations last Friday, according to the Los Angeles Times.