创建一个Facebook应用程序编程 [英] Create a facebook application programmatically

查看:209
本文介绍了创建一个Facebook应用程序编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图以编程方式创建了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= [关键]放大器;名称= APP_NAME

https://www.facebook.com/connect/create_app.php?api_key=[key]&name=app_name

但是,总有那么一说,弹出允许[根APP]为您整合Facebook功能? ... OK。

However, there's always a popup that says "Allow [Root App] to integrate Facebook functionality for you?" ... OK.

是否有可能为根应用,以不经过一些previous许可,他们已经允许弹出创建代表用户的应用程序,如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.

谁能帮助?也许有一些样本code。

Can anyone help? Maybe with some sample code.

提前THX
KC

Thx in advance kc

推荐答案

曾经有一个这样的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:

<一个href=\"http://blog.programmableweb.com/2009/10/15/facebook-lets-you-easily-integrate-into-sites-and-widgets-with-new-create-application-api/\">http://blog.programmableweb.com/2009/10/15/facebook-lets-you-easily-integrate-into-sites-and-widgets-with-new-create-application-api/

这篇关于创建一个Facebook应用程序编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆