具体添加的方式是:
- (void)startAuthorize
{
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:appKey, @"client_id",
@"code", @"response_type",
redirectURI, @"redirect_uri",
@"mobile", @"display",@"follow_app_official_microblog,friendships_groups_read,friendships_groups_write,statuses_to_me_read",@"scope",nil];
NSString *urlString = [WBRequest serializeURL:kWBAuthorizeURL
params:params
httpMethod:@"GET"];
WBAuthorizeWebView *webView = [[WBAuthorizeWebView alloc] init];
[webView setDelegate:self];
[webView loadRequestWithURL:[NSURL URLWithString:urlString]];
[webView show:YES];
[webView release];
}
参考网站:http://open.weibo.com/wiki/Scope
但是sina的最新的SSO认证,怎么去实现这个scope,(我个人认为应该不能实现)。I don’t know!