facebook apps redirect to hosting url in the first usage

前端 未结 1 1311
悲哀的现实
悲哀的现实 2020-12-07 05:51

I built a facebook apps from an tutorial with using adobe flash builder 4.5 . It is hosted on heroku.

This app gets name, image, birthday and status message . It d

相关标签:
1条回答
  • 2020-12-07 06:20

    Selam Ceyhun,

    This is expected behavior, what you can do for this is simply:

    <script type='text/javascript'>
    if (window.top.location == window.location) 
      window.top.location = 'https://apps.facebook.com/myapp';
    </script>
    

    that's it.

    0 讨论(0)
提交回复
热议问题