- Dec 6, 2011
- 1,014
- 673
Ok, the referrer is pretty important data in the IM world - especially when promoting aff products or just applying some nasty blackhat techniques.
In this short tutorial I'll show you how you can exploit the Facebook Referrer mechanism so that u can drive traffic to whatever sites / products urls you wish using a "Facebook Referrer" thus making all your traffic "legit".
Mods, I think you should move it to VIP so it wont get patched very fast by FB.
1. After you click on a url that is placed in Facebook, the url looks something like this:
take a look at the image, if you click on the link, you will be redirected to the destination url by The Facebook Redirect Mechanism (pattern is displayed in the code above)

Now, pay attention to the bold-red parameters.
the first parameter "u=" is the url Facebook send the visitor to
the second parameter "h=" is a security token.
Now, all you have to do is click on a link that has been shared or published in Facebook, copy the redirect url (before being redirected), replace the "u=http://...." to your own custom url, let's say an affiliate offer, and use the full Facebook url as a destination url for your banners/ links / images etc.
Thus, whenever a user will click this url, he will be redirected to your offer, and the referrer will be of "Facebook". Actually, the referrer will be: "facebook.com/l.php".
Pay Attention: the token contains data of your geo location. Therefore, if you are located in Canada for ex. and clicked on a Facebook url, apparently only Canada visitors to the re-structured url will be redirected to your final destination url, the others will get a security alert.
here are further urls that I re-structured (to my own custom urls), that work here from Israel. let me know if each works for you:
https://www.facebook.com/l.php?u=http%3A%2F%2Fblack-jack.co.il&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
https://www.facebook.com/l.php?u=http%3A%2F%2Fgoogle.com&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
https://www.facebook.com/l.php?u=http%3A%2F%2Fyahoo.com&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
https://www.facebook.com/l.php?u=http%3A%2F%2Fcnn.com&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
In this short tutorial I'll show you how you can exploit the Facebook Referrer mechanism so that u can drive traffic to whatever sites / products urls you wish using a "Facebook Referrer" thus making all your traffic "legit".
Mods, I think you should move it to VIP so it wont get patched very fast by FB.
1. After you click on a url that is placed in Facebook, the url looks something like this:
Code:
https://www.facebook.com/l.php?[COLOR=#ff0000][B]u=[/B][/COLOR]http%3A%2F%2Ftest.com&[COLOR=#ff0000][B]h=[/B][/COLOR]BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
take a look at the image, if you click on the link, you will be redirected to the destination url by The Facebook Redirect Mechanism (pattern is displayed in the code above)

Now, pay attention to the bold-red parameters.
the first parameter "u=" is the url Facebook send the visitor to
the second parameter "h=" is a security token.
Now, all you have to do is click on a link that has been shared or published in Facebook, copy the redirect url (before being redirected), replace the "u=http://...." to your own custom url, let's say an affiliate offer, and use the full Facebook url as a destination url for your banners/ links / images etc.
Thus, whenever a user will click this url, he will be redirected to your offer, and the referrer will be of "Facebook". Actually, the referrer will be: "facebook.com/l.php".
Pay Attention: the token contains data of your geo location. Therefore, if you are located in Canada for ex. and clicked on a Facebook url, apparently only Canada visitors to the re-structured url will be redirected to your final destination url, the others will get a security alert.
here are further urls that I re-structured (to my own custom urls), that work here from Israel. let me know if each works for you:
https://www.facebook.com/l.php?u=http%3A%2F%2Fblack-jack.co.il&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
https://www.facebook.com/l.php?u=http%3A%2F%2Fgoogle.com&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
https://www.facebook.com/l.php?u=http%3A%2F%2Fyahoo.com&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1
https://www.facebook.com/l.php?u=http%3A%2F%2Fcnn.com&h=BAQGNjWYdAQFwke7miQOHRy0VEJAObRA-7U3jmzs7Ry3lIg&enc=AZMTie6VVgCYbMTC524rLAODuF4JIN6seVoAtw-EL351_0cdlh2NKbsM6lzYDRdwRN-7XbUqOhcEV38e57sUnSeW&s=1