我在我的APP里嵌入新浪微博,有两个问题想请教:1.我发表微博失败
2.我手机如果有装新浪微博的APP的话,会直接跳转到新浪APP上,没办法像模拟器一样显示我的新浪SDK的网页,如何解决呢?我发表微博失败的代码进入下面这里:else if ([request.url hasSuffix:@"statuses/update.json"])
{
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Alert"
message:[NSString stringWithFormat:@"Post status \"%@\" failed!", postStatusText]
delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil];
[alertView show];
[alertView release];
NSLog(@"Post status failed with error : %@", error);
}输出如下:
Post status failed with error : Error Domain=SinaWeiboSDKErrorDomain Code=21321 "applications over the unaudited use restrictions!" UserInfo=0x88d69a0 {NSLocalizedDescription=applications over the unaudited use restrictions!, error={
error = "applications over the unaudited use restrictions!";
"error_code" = 21321;
request = "/2/statuses/update.json";
}}请问这是什么问题呢?
以上两个问题如何解决?
2.我手机如果有装新浪微博的APP的话,会直接跳转到新浪APP上,没办法像模拟器一样显示我的新浪SDK的网页,如何解决呢?我发表微博失败的代码进入下面这里:else if ([request.url hasSuffix:@"statuses/update.json"])
{
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Alert"
message:[NSString stringWithFormat:@"Post status \"%@\" failed!", postStatusText]
delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil];
[alertView show];
[alertView release];
NSLog(@"Post status failed with error : %@", error);
}输出如下:
Post status failed with error : Error Domain=SinaWeiboSDKErrorDomain Code=21321 "applications over the unaudited use restrictions!" UserInfo=0x88d69a0 {NSLocalizedDescription=applications over the unaudited use restrictions!, error={
error = "applications over the unaudited use restrictions!";
"error_code" = 21321;
request = "/2/statuses/update.json";
}}请问这是什么问题呢?
以上两个问题如何解决?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货