Link to a facebook application from a facebook page does not work? -


i have ready facebook application should linked facebook page. trying link canvas url of application button in page of javascript calling:

function onbtnclick() { window.location = "http://apps.facebook.com/canvas_url/"; }  

when click button supposed take me app empty page blue box , "facebook" string inside (pretty looking facebook logo)

this box link application , if clicked takes me http://apps.facebook.com/canvas_url/

the same problem occurs in application, try link facebook page. link there regular <a> tag.

do have ideas how redirect app without additional "facebook" page?

thanks in advance,

martin

use instead:

top.location.href = "http://apps.facebook.com/canvas_url/"; 

you need upper frame (facebook) redirect.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -