fixex issue #1 where Twittia crashed on replay
This commit is contained in:
parent
eb10cd5859
commit
661082a6e6
1 changed files with 1 additions and 2 deletions
3
OAuth.m
3
OAuth.m
|
@ -84,7 +84,6 @@
|
|||
}
|
||||
|
||||
- (void)requestAccessToken {
|
||||
NSLog(@"test 2");
|
||||
|
||||
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@", OAUTH_ACCESS_TOKEN_URL]];
|
||||
|
||||
|
@ -146,7 +145,7 @@
|
|||
NSMutableArray *params = [NSMutableArray arrayWithObjects:source, status, nil];
|
||||
|
||||
if (statusId) {
|
||||
OARequestParameter *reply = [[OARequestParameter alloc] initWithName:@"in_reply_to_status_id" value:statusId];
|
||||
OARequestParameter *reply = [[OARequestParameter alloc] initWithName:@"in_reply_to_status_id" value:[NSString stringWithString:statusId]];
|
||||
[params addObject:reply];
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue