我想将用户的位置附加到 TWRequest。我试图修改 url(使用类似这样的内容:)"http://api.twitter.com/1/statuses/update.json?lat=37.76893497&long=-122.42284884"
但响应是“401 Unauthorized”或“400 Bad Request”。
我的 TW 请求:
TWRequest *postRequest = [[TWRequest alloc] initWithURL:
[NSURL URLWithString:@"http://api.twitter.com/1/statuses/update.json"] parameters:[NSDictionary dictionaryWithObject:[tweet text] forKey:@"status"] requestMethod:TWRequestMethodPOST];
提前致谢。