以编程方式创建 Facebook 应用程序 [英] Create a facebook application programmatically
问题描述
我正在尝试以编程方式在 Facebook 中创建应用程序.我可以这样做:
I'm trying to programmatically create an application in Facebook. I can do that with this:
https://www.facebook.com/connect/create_app.php?api_key=[key]&name=app_name
但是,总是有一个弹出窗口显示允许 [Root App] 为您集成 Facebook 功能?"...好的.
However, there's always a popup that says "Allow [Root App] to integrate Facebook functionality for you?" ... OK.
Root 应用程序"是否可以通过他们之前允许的某些权限(例如 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 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!