Five Facebook users in California have settled a class action lawsuit they filed against the social media company for what they deem as unfair advertising techniques that take advantage of Facebook users.

The complainants filed the lawsuit in U.S. District Court in San Jose, claiming that Facebook violated California law by publicizing users' 'likes' for all to see without paying them or giving them an option to opt out.

Otherwise known as 'sponsored stories,' the ads in question are generated and displayed when a user's Facebook friends 'like' a particular posting or page. According to the lawsuit, this essentially amounts to free advertising for any brands being mentioned.

Facebook founder, chairman and chief executive Mark Zuckerberg is quoted in the lawsuit as saying that such friend endorsement is the 'holy grail' of advertising.

The judge in the case sided with the consumers. As a result, Facebook has agreed to give a total of $10 million to charity to settle the lawsuit. The charities that will receive the payout are unknown at this time.

The judge must still approve the final settlement.

Get Connected with Consumer Connections

Stay up-to-date about issues that really matter! Get the Consumer Connections newsletter!

We're committed to providing you with information you need to make you a better, more informed consumer. Whether it's a vehicle recall, a product recall, or a new scam, we feature it in Consumer Connections.

So why not give it a try? Go on. All of your friends are doing it. It's completely free and comes just once a week.

Have you ever noticed that your bank account somehow had 'extra' money in it even though you knew for a fact it wasn't yours? If so, you are not alone. It happens more often than you would think. All it takes is for a bank teller to type in one wrong number at the time a deposit is being made.

Advances in airbag technology have made 10 and two quite dangerous, according to the American Driver and Traffic Safety Association. The old position puts the driver's fingers, hands and arms in the way of the airbag, which deploys at speeds of nearly 250 mph.

Have you ever considered using toothpaste on your car to take out a few of those minor scratches? If the scratch hasn't yet penetrated the clearcoat, there is a good chance that you can fix the problem with a little bit of elbow grease and whitening toothpaste.

Tell all of your friends and family that you have some type of consumer complaint. We bet that at least half of them will tell you to contact the Better Business Bureau (BBB) for some kind of resolution. But can the BBB really help consumers? It really isn't what you think it is.