Facebook instant website open

Hello,

I am creating an Instant game and I am trying to implement a button, which would open a new window/tab. The url is not related to Facebook. I also tried it with an url that would open the app’s own facebook page but it doesn’t seem to work.

However when I try to do this I get the following errors in the console (I tried with all the different attributes of sys.open_url()):

Do I somehow need to (can I even do it?) change the ‘sameorigin’, ‘allow-popups’, ‘allow-top-navigation’, ‘allow-top-navigation-by-user-activation’ options?

Thanks!

It is understandable that Facebook is preventing this kind of navigation. I don’t think there is anything you can do about it. Ask in the Facebook Instant Games group on Facebook to verify this though!

2 Likes

Thank you for the very fast response!