Slickcash, which pays commissions to web publishers who direct users to its various pornography sites, is controlled by Istra Holdings.
According to the filed complaint, Look Communications, an internet service provider, turned over the internet protocol addresses for two computers, allowing to trace the information requests to the defendants.
The social networking site alleges that during a 15-day period between June 1 and June 15 this year the defendants tried to access information on Facebook's servers over 200,000 times using "an automated script that attempted to harvest information from other Facebook users".
David Chiappetta, Facebook's lawyer, said: "These requests for information from Facebook generated error messages and were detected as unauthorized attempts to access and harvest proprietary information belonging to Facebook.''
The legal filing claims the attack cost Facebook over $5,000 (£2,500).
Facebook is seeking undisclosed financial damages.