fixed problem where reply id was empty
This commit is contained in:
parent
4ddfc7d47d
commit
a0def6a388
1 changed files with 7 additions and 2 deletions
|
@ -167,8 +167,13 @@
|
||||||
|
|
||||||
- (IBAction)sendTweet:(id)sender {
|
- (IBAction)sendTweet:(id)sender {
|
||||||
|
|
||||||
[oauth updateTweet:[[sender object] objectAtIndex:0]
|
NSString *replyToId;
|
||||||
inReplaToStatus:[NSString stringWithFormat:@"%d", [[sender object] objectAtIndex:1]]];
|
if ([[[sender object] objectAtIndex:1] respondsToSelector:@selector(stringValue:)]) {
|
||||||
|
replyToId = [[[sender object] objectAtIndex:1] stringValue];
|
||||||
|
}
|
||||||
|
|
||||||
|
[oauth updateTweet:[[sender object] objectAtIndex:0] inReplaToStatus:replyToId];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
NSString *encodedString = [[[sender object] objectAtIndex:0] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
NSString *encodedString = [[[sender object] objectAtIndex:0] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
|
||||||
[timelineView stringByEvaluatingJavaScriptFromString:
|
[timelineView stringByEvaluatingJavaScriptFromString:
|
||||||
|
|
Reference in a new issue