Facebook says its working to make sure spammers don't hijack the site again.

It's after the news feeds of thousands of users wereflooded with violent and pornographic photographs earlier.

Some were doctored to
show pornographic pictures of celebrities - including Justin Bieber.