How to embed fbApp within fbPage in a specific way?

若如初见. 提交于 2019-12-11 08:27:21

问题


how can I embed my app in my facebook page in a way as here: www.facebook.com/SzkolaSTRAMA?v=app_323694844330149

I have attached the app to my page using the magic url: http://facebook.com/add.php?api_key=&pages=1&page=

and tried to open somehow the app within using the v parameter, but it seems it is not that. Can someone give me a clue? Thanks.


回答1:


Now you can add an application to a page in a page tab by going to below mentioned url

https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL

You need to change "app_id" with your app_id, you can find it in app settings, "Your_url" should be replaced with your application complete url for e.g. "https://www.facebook.com/TestApplication?sk=app_389610254390000"

after changing values press enter, If you are admin of any Facebook page then you will be taken to a screen where you can select the page, after completion of this step your app will be added to page tab.

For further clarification go to this link




回答2:


https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL

YOUR_URL should be replaced with your Canvas url. (The page that is being loaded into iframe on facebook)

APP_ID with id of the Page Tab application.

Explained also here https://stackoverflow.com/a/10535905/1520297



来源:https://stackoverflow.com/questions/10684334/how-to-embed-fbapp-within-fbpage-in-a-specific-way

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!