javascript - Is there any solution to redirect facebook fan page after submission -
in facebook app, pull website form enter data. after submit form it's showing message. want re-direct facebok fan page. can't. used several method i'm going crazy :(
<?php echo "<div class='success'><font color='green' size='5'>congratulation!. submited recipe. thank you.</font/></center></div>"; //header("refresh:5; url=fan_page_url"); //echo "top.location.href='fan_page_url'"; //header("refresh: 1;"); //header("location: fan_page_url"); ?> <script type='text/javascript'> window.location.href = 'fan_page_url'; </script>
you may need this
<script type='text/javascript'> window.top.location = 'http://www.facebook.com/fanapage'; </script>
Comments
Post a Comment