Facebook's servers were hacked and users' info might or might not have been stolen (of course, FB said no user data were compromised.) It's not like the hacker put malware in FB's servers which then would infect your computer. So you are safe.

(Just venting: Personally I would not use FB. Not only they pay no tax, they actually get hundreds of millions in "refund". What the ***k!!!!)