Javascript / php redirect to app store from facebook app
after facekbook app update on July 01, 2015. redirecting to app store from facebook app doesn't work for me.
I have 2 redirect pages on my server like the following thread.
<html><head></head>
<body>
<script type="text/javascript" src="jquery-1.11.1.min.js"></script>
<script>
$(document).ready(function() {
window.location.href='https://itunes.apple.com/app/id';
// or window.open('https://itunes.apple.com/app/id');
});
</script>
</body>
</html>
and
<?php
header('Location: https://itunes.apple.com/app/id', 301);
exit;
?>
it worked before the updated facebook app.
The problem is when links click on the facebook app, it opens from facebook in the app's web browser. and he asked me to "leave facebook app"? when i clicked on vacation. it shows a blank page.
Is this a problem with the facebook app? or do I have a solution?
+3
source to share