Permalink
Browse files

Merge branch 'master' of https://github.com/ap4y/cocoa_helpers

  • Loading branch information...
2 parents 9794923 + dfc2cf8 commit d061268d4747cb53826e9728cfdd394474da0bb2 @ap4y committed Aug 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Social/TWClient.m
View
@@ -153,7 +153,7 @@ - (NSString *)generateHMAC_SHA1SignatureFor:(NSString *)baseString {
- (void)signRequest:(NSMutableURLRequest *)request withBody:(NSMutableDictionary*)body {
// Generate timestamp and nonce values
- [self setOAuthValue:[NSString stringWithFormat:@"%d", time(NULL)] forKey:@"oauth_timestamp"];
+ [self setOAuthValue:[NSString stringWithFormat:@"%ld", time(NULL)] forKey:@"oauth_timestamp"];
[self setOAuthValue:[NSString uniqueString] forKey:@"oauth_nonce"];
// Construct the signature base string

0 comments on commit d061268

Please sign in to comment.