javascripthtmlfacebookhyperlinkfacebook-canvas

Clickable external links inside facebook canvas app


I have links inside facebook canvas application. And when users click it, it should show in new tab or page. How to do that?

I use javascript location to redirect user to facebook login page.

I saw a code some months that is in javascript by a user in stackoverflow posted as a solution for this but I searched for two days and didn't find it.

Please help


Solution

  • I think the answer you're looking for is in the link below. In essence, a href="xyz" target="_top" and so: window.top.location=xyz

    window.top.location

    links-to-external-site-in-canvas-tab-on-facebook