I built a facebook applications from an tutorial with using adobe expensive builder 4.5 . It's located on heroku.

This application will get title, image, birthday and status message . It shows these infos within the screen. And you will also publish status message for your facebook account. While you understand, it's very simple applications.

Within the first using this application, after permission dialog, url is rerouted to hosting url.

When you wish to make use of it again, Technology-not only on facebook.com

have you got any idea why it's rerouted to hosting url within the first usage after permission dialogs.

Thanks, cergun

Selam Ceyhun,

This really is expected behavior, you skill for this is just:

<script type='text/javascript'>

if (window.top.location == window.location)

  window.top.location = 'https://applications.facebook.com/myapp'

<script>

there you have it.