Learn how to redirect anyone with a facebook like button.For example,if you have any freebies to give or any useful source page then you can use this hack to redirect to custom url in exchange with a like to your facebook page.
![FacebookLikeRedirect](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvBieOl_5fJdpbT2p9YgLBLQXQjDB4ccAZheKYgUo3Bj6FGfPavzu0e5lGUd8ZMpNO2Rw4xlc9mMG3ytB-ek-Js7dpXxUjxY_PnbZnM0ICO2Yj1ugc_NsqqLPRrAFrxq8jElV1S5Awci5t/s1600/banner.jpg)
MAKE A FACEBOOK LIKE REDIRECT BUTTON
<script type='text/javascript'>
window.fbAsyncInit = functionundefined) {
//change to your facebook app id
FB.initundefined{
appId: & #39;YOURAPPID&# 39;, status: true,
cookie: true,
xfbml: true
});
FB.Canvas.setSizeundefined{
width: 520,
height: 1500
});
FB.Event.subscribeundefined & #39;edge.create&# 39;,
functionundefinedresponse) {
// change pagetoredirectto
window.location = & quot;
RedirectURL & quot;;
}
);
};
undefinedfunctionundefined) {
var e = document.createElementundefined & #39;script&# 39;);
e.async = true;
e.src = document.location.protocol +
& #39;//connect.facebook.net/en_US/all.js&# 39;;
document.getElementByIdundefined & #39;fb-root&# 39;).appendChildundefinede);
}undefined));
</script>
SAVE YOUR TEMPLATE!
➨Now wherever you want button to appear,just paste the code given below.
<div id="fb-root"></div>
<fb:like href="FacebookPageURL" send="false" width="450" show_faces="false" font=""></fb:like>
CUSTOMIZATIONS
➨In first code snippet replace RedirectURL with the destination url and in second code snippet replace FacebookPageURL with your facebook page url.
![]() |
![]() |
Post a Comment