我正在寻找一种通过 Facebook API 创建和配置 Facebook 应用程序的解决方案。它的 Graph API / FQL 或 REST API 都没有关系,但我找不到任何方法来做到这一点。
2 回答
You didn't find because this is not possible.
Facebook decided not to support app management and creation using the API, in order to avoid applications created or edited by bots.
Only a few actions are possible using the API:
- Migration (like migrating to OAuth2, ...)
- Restriction (Geographical, age...)
- User ban (add/remove)
- Test User Creation/edition/deletion
See http://developers.facebook.com/docs/reference/api/application/ for more info.
You'll notice one of the first sentence: "To create, administer or delete applications developers must go to the Developer Application."
您可以使用 Legacy REST API 设置(和获取)应用程序属性: https ://developers.facebook.com/docs/reference/rest/admin.setAppProperties/
但是不存在创建 API,并且由于垃圾邮件发送者可能永远不会......