redirect on facebook app install

后端 未结 2 1471
醉酒成梦
醉酒成梦 2020-12-16 08:21

Upon install of my app on a Facebook Page, I\'d like to send the user to an URL with further instructions. I\'m starting the installation with http://facebook.com/add.php?ap

2条回答
  •  猫巷女王i
    2020-12-16 08:37

    First page that Canvas is point to should have
    < script type='text/javascript'>top.location.href = 'REDIRECT-URL';< /script>
    So when your app is opened it will automaticaly redirect to REDIRECT-URL

    I'm not sure that you can avoid opening of application canvas page after installing application.

提交回复
热议问题