Create and Configure Facebook Apps via API

江枫思渺然 提交于 2019-11-28 05:00:09

问题


I'm looking for a solution to create and configure Facebook Apps via the Facebook APIs. It doens't matter if its Graph API / FQL or REST API but I couldn't find any way to do this.


回答1:


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."




回答2:


You can use the Legacy REST API to set (and get) application properties: https://developers.facebook.com/docs/reference/rest/admin.setAppProperties/

But no create API exists, and probably never will due to dirty spammers...



来源:https://stackoverflow.com/questions/7726219/create-and-configure-facebook-apps-via-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!