问题描述
我正在以编程方式在Facebook中创建一个应用程序。我可以这样做:
I'm trying to programmatically create an application in Facebook. I can do that with this:
但是,总有一个弹出窗口说允许[Root App]为您整合Facebook功能? ... OK。
However, there's always a popup that says "Allow [Root App] to integrate Facebook functionality for you?" ... OK.
根应用是否可以代表用户创建应用程序,而无需弹出窗口,通过以前允许的许可,例如stream_publish ...等或可能是一个session_token或??
Is it possible for the "Root App" to create the application on the user's behalf without the popup via some previous permission which they have allowed, like stream_publish ...etc or maybe a session_token or ??
有人说我可以通过admin.setAppProperties创建子应用程序,但无法使其正常工作。我也尝试过FB.Connect.createApplication和Facebook.createApplication,但也失败了。
Someone said I can create child apps via "admin.setAppProperties" but couldn't get it working. I've also tried "FB.Connect.createApplication" and "Facebook.createApplication" but also failed.
任何人都可以帮忙?可能有一些示例代码。
Can anyone help? Maybe with some sample code.
推荐答案
以前,这是一个API,但我认为已经停止了。你可以看到你是否可以从这里提供的信息一起进行攻击:
There used to be an API for this but I think it has been discontinued. You can see if you can hack it together from the information available here:
这篇关于以编程方式创建一个Facebook应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!