Ios 使用sttwitterapi转发

Ios 使用sttwitterapi转发,ios,objective-c,iphone,twitter-feed,sttwitter,Ios,Objective C,Iphone,Twitter Feed,Sttwitter,我已尝试在用户身份验证后使用STTwitter API在我的应用程序中添加转发概念,方法如下: [twitter postStatusRetweetWithID:[NSString stringWithFormat:@"691544087921606656"] successBlock:^(NSDictionary *status) { NSLog(@"status..%@",status); } errorBlock:^(NSError *error) { N

我已尝试在用户身份验证后使用STTwitter API在我的应用程序中添加转发概念,方法如下:

[twitter postStatusRetweetWithID:[NSString stringWithFormat:@"691544087921606656"] successBlock:^(NSDictionary *status) {
       NSLog(@"status..%@",status);
   } errorBlock:^(NSError *error) {
       NSLog(@"error..%@",error);
   }];
但它显示了以下错误:

错误域=stTwitterErrorDomainCode=220“您的 凭据不允许访问此资源。“ UserInfo={NSUnderlyingError=0x7b170ca0{Error Domain=STHTTPRequest 代码=403“HTTP状态403:禁止” UserInfo={NSLocalizedDescription=HTTP状态403:Forbidden}, NSLocalizedDescription=您的凭据不允许访问此站点 资源。}

如果有人使用过sttwitterapi。给我一些想法来摆脱这个错误

提前感谢。

1)此代码对我有效,我可以用我的测试帐户转发此推文2)我无法发现您的代码中有任何错误,尽管您不需要-[NSString stringWithFormat:]您只需使用@“691544087921606656”3)您的凭据可能有问题。-[STTwitterAPI verifyCredentialsWithUserSuccessBlock:errorBlock:]的结果是什么?1)这段代码对我有效,我可以用我的测试帐户转发这条推文2)我无法发现你的代码中有任何错误,尽管你不需要-[NSString stringWithFormat:]你可以简单地使用@“691544087921606656”3)你的证件可能有问题。-[STTwitterAPI verifyCredentialsWithUserSuccessBlock:errorBlock:]的结果是什么?