如何通过 JS SDK 或 Open Graph API 以编程方式创建 Facebook 应用程序?(创建应用程序) [英] How to programatically create a Facebook application via JS SDK or Open Graph API? (createApplication)

查看:22
本文介绍了如何通过 JS SDK 或 Open Graph API 以编程方式创建 Facebook 应用程序?(创建应用程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道目前有两种方法可以用来做到这一点,在 Facebook 的开发者网站上有记录(很差):

I know there are currently two methods that can be used to do this, documented (poorly) on Facebook's Developer site:

  1. 旧的(已弃用)JavaScript SDK FB.Connect.创建应用程序
  2. 一种新的 FBJS 方法 Facebook.createApplication(仅用于 Canvas页)
  1. The old (depreciated) JavaScript SDK FB.Connect.createApplication
  2. A new FBJS method Facebook.createApplication (only for use on Canvas pages)

问题是我没有使用运行 FBJS 的 Canvas 应用程序,而且我没有使用 OLD JS SKD.我正在尝试在使用 当前 JavaScript SDK 的常规旧 PHP 网站上执行此操作和 PHP SDK.

The problem is that I not using a Canvas app that runs FBJS, and I am not using the OLD JS SKD. I am trying to do this on a regular old PHP website that uses the current JavaScript SDK and the PHP SDK.

我正在使用当前的 SDK 执行通常的 Open Graph API 调用等,所以我了解基础知识,我只是不确定如何继续使用 OLD SDK,或者如果(手指交叉)我什至真的有到?

I am doing the usual Open Graph API calls and such with the current SDK, so I understand the basics, I'm just not sure how to proceed to use the OLD SDK, or if (fingers crossed) I even really have to?

那么,有没有办法使用当前的 JS SDK 制作新的 Facebook 应用程序?或者使用服务器端 PHP SDK 调用 Graph?

So, is there a way to make new Facebook Apps with the current JS SDK? Or with a server side PHP SDK call to the Graph?

如果没有,我该如何调用旧的 SDK 来执行此操作?

谢谢

更新:你仍然不能这样做,但 Facebook 跟踪器中有一个关于它的官方错误:http://developers.facebook.com/bugs/295627350461318

UPDATE: You still can't do this, but there is an official bug in the Facebook tracker about it: http://developers.facebook.com/bugs/295627350461318

推荐答案

没有您指出的 OLD SDK 之外的内容.它已被删除(Facebook 称之为已弃用").我最近提出了一个功能请求,要求他们将其重新添加到 API 中:

There isn't outside of the OLD SDK as you indicated. It's been removed (what Facebook calls "deprecated"). I put in a feature request recently for them to add it back into the API:

我:

Facebook 开发者工具是相当缺乏特色.星期三喜欢能够创造第三个聚会应用程序,增加了层开发者的功能应用程序,但我们需要能够创建和管理应用程序通过图形 API.

The Facebook Developer tool is considerably lacking in features. We'd like to be able to create a third party application that adds layers of functionality to the developer application, but we'd need to be able to create and administer applications via the Graph API.

Graph API 支持查询现有应用程序的信息.创建、管理或删除应用程序开发人员必须去开发者应用.

The Graph API supports querying for information on existing applications. To create, administer or delete applications developers must go to the Developer Application.

他们:

------- 评论 #1 来自 Jeff Bowen 2010-12-07 16:59:12 (-) [回复]

------- Comment #1 From Jeff Bowen 2010-12-07 16:59:12 (-) [reply]

-------感谢您的请求.我们将在我们的愿望清单中跟踪此内容

------- Thanks for the request. We’ll track this on our wishlist

这篇关于如何通过 JS SDK 或 Open Graph API 以编程方式创建 Facebook 应用程序?(创建应用程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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