How can i redirect users coming to my app on facebook (canvas app) to the mobile version of the same..
i know that can be achieved using this
<script type="text/javascript">
<!--
if (screen.width <= 699) {
document.location = "mobile.html";
}
//-->
</script>
But how can i achieve this without putting a redirect code on the link published....
Is there any way by which facebook automatically redirects mobile users coming on canvas app to its mobile web version.....
NO need to use the above code ...just also fill in the mobile web url on facebook app setting page. facebook will automatically redirect mobile users (iphone, ipad and other smartphone users) to your mobile website instead of canvas ...