我有这样的问题。我上课了,我打电话给facebook Graph API
[_facebook requestWithMethodName:@"fql.query"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
和两种委托方法,接收响应:
- (void)request:(FBRequest *)request didLoad:(id)result
- (void)request:(FBRequest *)request didFailWithError:(NSError *)error
我需要这样做,禁用来自facebook的接收响应。我怎样才能以程序方式制作它。感谢名单!
答案 0 :(得分:0)
如果这是您尝试使用Graph API的代码
[_facebook requestWithMethodName:@"fql.query"
andParams:params
andHttpMethod:@"POST"
andDelegate:self];
这不是图API ..
图表Api:
[facebook requestWithGraphPath:"ANY GRAPH METHOD HERE"
andParams:"DIFFERENT PARAMETERS YOU WANT TO PASS FOR THAT API"
andHttpMethod:@"POST"
andDelegate:self];
对于Graph API,请在此处查看:http://developers.facebook.com/docs/reference/api/
并且API方法对于所有函数都是不同的。