Did he deny it on one of his other social media? Because it's unlikely they hacked all of them.
I'm not sure as I haven't got any social media accounts to check, but I assumed from Puyol's reply that it had all the hallmarks of some cruel prank, but apparently some people think he might have done it as a protest against the media talking about his private life. Which would be very very odd.