sbndnb
Regular Member
- Dec 1, 2013
- 478
- 344
I'm not claiming to be an expert (or any good at all) at FB or CPA techniques, but I thought this technique might be useful to those that don't know it. If you have any questions feel free to ask them in this thread.
Since this method isn't exactly rocket science I will keep it short and simple. Like many of you I've been experimenting a lot with facebook and CPA. And a couple of days ago I realised something while playing around with Facebook's debugger: Facebook's URL linter (which scrapes the site's preview when sharing an url) doesn't recognize Javascript, so you can easily trick FB into thinking you're sharing a link to "url a", while redirecting all visitors to "url b".
How it works:
Step 1: create an HTML file containing the following code and upload it to your server:
Step 2: (optional) shorten the link to the html file. I use Tinyurl for this.
Step 3: Use the (shortened) link in your facebook posts and it will show a preview of the url specified in og:url. In practice your visitors will be sent to the html file on your server, and (assuming they have JS enabled) they will be redirected to your landing page / offer / affiliate link.
If you wish to play around with this, you can use the FB debugger to check the output of the Facebook linter and the generated preview here: https://developers.facebook.com/tools/debug/
Feel free to post any tips / twists / results!
PS: the thread title has nothing to do with the reputable Shezboy or his services, which I've heard are pretty awesome. And so are ninja's.
Since this method isn't exactly rocket science I will keep it short and simple. Like many of you I've been experimenting a lot with facebook and CPA. And a couple of days ago I realised something while playing around with Facebook's debugger: Facebook's URL linter (which scrapes the site's preview when sharing an url) doesn't recognize Javascript, so you can easily trick FB into thinking you're sharing a link to "url a", while redirecting all visitors to "url b".
How it works:
Step 1: create an HTML file containing the following code and upload it to your server:
Code:
<html prefix="og: http://ogp.me/ns#">
<head>
<meta property="og:url" content="http://url-for-facebook-preview.com/" />
<script type="text/javascript">window.location = "http://affiliate-link-or-landing-page.com";</script>
</head>
</html>
Step 2: (optional) shorten the link to the html file. I use Tinyurl for this.
Step 3: Use the (shortened) link in your facebook posts and it will show a preview of the url specified in og:url. In practice your visitors will be sent to the html file on your server, and (assuming they have JS enabled) they will be redirected to your landing page / offer / affiliate link.
If you wish to play around with this, you can use the FB debugger to check the output of the Facebook linter and the generated preview here: https://developers.facebook.com/tools/debug/
Feel free to post any tips / twists / results!
PS: the thread title has nothing to do with the reputable Shezboy or his services, which I've heard are pretty awesome. And so are ninja's.