Any update on this? I am having the same issue with Buddhist calendar.
Edit:
I tried changing the ‘Authorization’ key of request header (which holds oauth_timestamp) manually, but still received 401.
OAuth oauth_signature="XXX",
oauth_nonce="XXX",
oauth_timestamp="18446744058071689377",
oauth_consumer_key="XXX",
oauth_token="XXX",
oauth_version="1.0",
oauth_signature_method="HMAC-SHA1"
to
OAuth oauth_signature="XXX",
oauth_nonce="XXX",
oauth_timestamp="1496812961",
oauth_consumer_key="XXX",
oauth_token="XXX",
oauth_version="1.0",
oauth_signature_method="HMAC-SHA1"
Edit2:
Plus, apple documentation says you should not modify Authorization header. So…
Edit3:
Passing it as a parameter seems to work, but I’m not sure this works 100% of the time.
NSString *timestamp = [NSString stringWithFormat:@"%d",(int)[[NSDate date] timeIntervalSince1970]];
TWTRAPIClient *client = [TWTRAPIClient clientWithCurrentUser];
NSURLRequest *request = [client URLRequestWithMethod:@"GET"
URL:@"https://api.twitter.com/1.1/account/verify_credentials.json"
parameters:@{@"include_email":@"true",
@"skip_status":@"true",
@"oauth_timestamp":timestamp}
error:nil];
For the OP, get the timestamp as an integer instead of float. Seems to be working fine till now.