我想通过oAuth获得Flickr授权,但我的回复是空的。我就是这样做的。
GET&安培; HTTPS%3A%2F%2Fwww.flickr.com%2Fservices%2Foauth%2Frequest_token&安培; oauth_callback%3Doob%26oauth_consumer_key%3DXXXXXXXXXXXXXXX%26oauth_nonce%3D91133798%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1427542658
128974f0e49251f6bd705f7bf9dadbd3dafe90a4
我调用了请求字符串" requestStringSignature"
var url = NSURL(string: requestStringSignature)
var request = NSURLRequest(URL: url!)
NSURLConnection.sendAsynchronousRequest(
request,
queue: NSOperationQueue.mainQueue(),
completionHandler: {
(response, data, error) -> Void in
println(response)
}
)
回应是零。
请帮忙。