您请求的某些别名不存在:events.create [英] Some of the aliases you requested do not exist: events.create
问题描述
我正在尝试使用图形API创建新的事件,为测试用户设置create_event权限。现在我执行图形API,但它给我的错误像:
i am trying to create new event using graph api.i set create_event permission for testing user. now i execute graph api but it gives me error like :
{
error:{
message:(#803)您要求的某些别名不存在:events.create,
type:OAuthException
}
}
{ "error": { "message": "(#803) Some of the aliases you requested do not exist: events.create", "type": "OAuthException" } }
任何人都可以告诉我为什么会发生这种情况。
can anyone tell me why this happening.
推荐答案
您正在使用一种旧的方法来创建事件。 event.create
已被弃用。从文档可以看到:
You are using an old method for creating events. The event.create
has been deprecated. As you can see from the documentation :
我们正在弃用REST API 。如果您正在构建一个新的Facebook应用程序
,请使用Graph API。虽然还有
仍然功能,我们还没有移植,Graph API是
,Facebook平台的中心向前移动,并且所有新的
功能将被找到。
We are in the process of deprecating the REST API. If you are building a new Facebook application, please use the Graph API. While there is still functionality that we have not ported over yet, the Graph API is the center of Facebook Platform moving forward and where all new features will be found.
请阅读,以了解处理它们的新方法。
我们作为Facebook开发人员全权负责保持最新的第三方API(基于我们的开发)对其系统的变化。
一个伟大的地方可以更新和新功能将是 Facebook开发人员博客和 Facebook开发人员路线图。
Please read the new documentation on events to learn about the new methods of dealing with them.
We as facebook developers are solely responsible for keeping up-to-date with the changes that 3rd party API's, on which we base our development, make to their systems. A great place to keep updated on changes and new features would be the Facebook Developers Blog and the Facebook Developers Roadmap.
这篇关于您请求的某些别名不存在:events.create的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!