WeiboSDKDelegate Protocol Reference
Conforms to | NSObject |
Declared in | WeiboSDK.h |
Instance Methods
didReceiveWeiboRequest:
收到一个来自微博客户端程序的请求
- (void)didReceiveWeiboRequest:(WBBaseRequest *)request
Parameters
- request
具体的请求对象
Discussion
收到微博的请求后,第三方应用应该按照请求类型进行处理,处理完后必须通过 [WeiboSDK sendResponse:] 将结果回传给微博
Declared In
WeiboSDK.h
didReceiveWeiboResponse:
收到一个来自微博客户端程序的响应
- (void)didReceiveWeiboResponse:(WBBaseResponse *)response
Parameters
- response
具体的响应对象
Discussion
收到微博的响应后,第三方应用可以通过响应类型、响应的数据和 WBBaseResponse.userInfo 中的数据完成自己的功能
Declared In
WeiboSDK.h