Send users to a certain page depending on where they come from to your site.
The script below would send visitors who found your site through Facebook to one page, while all others would be redirected to another.