check the variable of $canvasURL ad $tale_id that what are the values in them. it may happen that they are pointing to any other application. just echo those variable and see their values
–
Awais QarniJan 31 '11 at 12:02

those are fine but I think there is some problem in some settings, but don't understand from where I can set this
–
HafizJan 31 '11 at 12:13

2 Answers
2

As per facebook is deprecating all FBML apps soon, I would advise you to look here, and try and create a dialog in this way. I can give you the script I'm currently using, where the link you circled directs to my app's home page. a note should be made- my app is an Iframe app.

You need to understand the difference between Iframe and FBML apps: While Iframe apps make the user stay in the same page all the time, and only the content in the Iframe is changes, FBML application actually move the user from page to page. Because of this, when specifying links in FBML apps, it is important to use the http://apps.facebook.com/appname/page link instead of the http://www.yoursite.com/page link.

Example links:

A link on your site: http://www.yoursite.com/game1.php

Would look like this in an FBML app: http://apps.facebook.com/appname/game1.php