Facebook has taken legal action against one of its users who inundated the social network with dubious celebrity porn links that led other users to marketing websites.

According to federal court documents, Christopher Peter Tarquini of Malton, N.J., was the ringleader behind the fraudulent ploy that caused the social media giant to spend $5,000 investigating his actions in the course of a year.

Since 2008, Tarquini used self-made software scripts to post “deceptive messages, images and links” on Facebook users' pages. After clicking on the links, the messages were then shared with the users' Facebook friends and browsers were redirected to marketing sites that earned Tarquini commission.

Facebook is seeking for the man to be banned from the social media site, as well as punitive damages for breach of contract.