As from July 1st 2015 it will become illegal to criticize the Spanish royal family on the internet, which includes all your favourite social media such as Twitter (Sp. Tuiter) and Facebook (Sp. Feibu). The penalty is up to two years in prison. This according to Article 573 of the new Spanish penal code which comes into effect that day.
The good news. If you slag off La Familia on LinkedIn or Goole Plus you’re unlikely to be prosecuted. Nobody will ever read you.