Typically, a Facebook phishing attack involves creating a fake post or message that appears to be from a legitimate source, such as a friend or a popular brand. The post may contain a link to a fake login page or a malicious PHP script that captures the user's login credentials.
<?php // Simple form handler example