Facebook Inc. says it was the target of hackers but no user information was compromised during the attack.