2014-06-06 22 views
1

我已经创建了Facebook应用,并且我想发布活动。但是在将Facebook API升级到版本2后,我了解到有一个审查过程需要完成。但是如前所述in the documentation, 应用程序开发者帐户应该能够发布事件而无需审核流程。即使使用应用开发者帐户,我也无法发布活动。这引发了我以下错误:无法发布Facebook API版本2中的应用开发者帐户的活动而无需审核流程

Executing a POST to https://graph.facebook.com/1440689676189017/events with parameters (sent in request body):

name=newEvent&start_time=2014-06-05T18:30:00+0000&end_time=2014-06-29T19:30:00+0000&description=&access_token=ACCESS_TOKE&format=json 
6 Jun, 2014 11:01:37 AM com.restfb.DefaultFacebookClient makeRequestAndProcessResponse 
INFO: Facebook responded with HTTP status code 400 and response body: {"error":{"message":"(#12) events management API is deprecated for versions v2.0 and higher","type":"OAuthException","code":12}} 

可能有人给我一个想法,为什么这甚至对开发者帐户发生了什么?

回答

1

你可以看一下错误信息:

{"error":{"message":"(#12) events management API is deprecated for versions v2.0 and higher","type":"OAuthException","code":12}} 

你不能用图形API v20.0发布通过API的事件了。这是写在docs:

行情:

You cannot create events via the Graph API.

 

create_event is no longer available.

+0

感谢您的答复。 1.如果我提交我的应用程序进行审核并成功审核,我可以使用create_event发布事件(与我们在版本1中的做法一样),是否可以让我知道。 2.如果不是,你可以让我知道在第二版中发布事件的过程。 – user3714426

+0

“您无法使用Graph API V2.0创建事件”的哪一部分对您而言尚不清楚? – Tobi

+0

Eventbrite如何做到这一点?通过他们的服务,我仍然能够发布活动到Facebook。 – besimple

相关问题