开发者

Facebook behavior to open applications

开发者 https://www.devze.com 2023-04-02 18:11 出处:网络
I have a Facebook app developed in PHP. There are a access to app in left side in Facebook Page. I don\'t know how I can have controll when user click in app.

I have a Facebook app developed in PHP. There are a access to app in left side in Facebook Page. I don't know how I can have controll when user click in app.

Sometimes when I click in application:

  • The full window load the app in apps.facebook.com
  • Facebook only reload the fram开发者_运维知识库e in page and load the application.

Is there any way to handle this and always do the same?

And in the application, is there any way to push in link and open in apps.facebook.com and not reload the frame in page? It happens the same as before, sometimes he does it one way and others another.


You won't have any control over the Facebook website that wraps your app. You'll have to figure out how to make your app working with all the different loading scenario.


"And in the application, is there any way to push in link and open in apps.facebook.com and not reload the frame in page?"

Do you mean to open that link in the current tab and not just in the iframe? If so, try adding target = "_top" to the link.

For the other part, I'm sorry but I can't help

0

精彩评论

暂无评论...
验证码 换一张
取 消