Just days after Facebook launched a range of new emotional responses, its original Like button has been declared illegal by a German court because of the way some of the data is collected.

The Dusseldorf district court ruled Wednesday that the Fashion ID site by Peek & Cloppenburg must get consent from users before sending their data to Facebook and it must also tell users that they can withdraw their consent at any time.

The site was accused of sending data to Facebook before consumers had decided to like the page.

CNIL noted that Facebook collects data that includes religion, political views, and sexual orientation, which “violates their fundamental rights and interests, including their right to respect for private life”.

In January, the social media giant was dealt another blow by German courts who found Facebook’s ‘Friend Finder’ feature to be unlawful. The feature, which the courts called “advertising harassment” and “deceptive”, asks users to allow Facebook to access their contacts and then send them invitations to join Facebook.

Germany’s competition regulator announced last week it was investigating Facebook’s suspected abuse of data protection.

A Facebook spokesman responded to Wednesday's ruling, "This case is specific to a particular website and the way they have sought consent from their users in the past. The ‘Like’ button, like many other features that are used to enhance websites, is an accepted, legal and important part of the Internet, and this ruling does not change that."