Dropbox API help
I have downloaded the Objective-C api from here (the one on their site is for iOS) however I am getting an "Invalid signature. Expected signature base string:" error when I try to upload a file. I can login just fine, but it's just uploading that doesn't work. From looking around it seems to be an oauth problem. How can I fix it or where is there a wrapper that works with osx out of the 开发者_开发知识库box?
The DropboxSDK repository you referred to looks old. You should get the release SDK from https://www.dropbox.com/developers/releases
I had the same issue.
Login is fine, but upload generated invalid signature error.
I was calling:
[self.restClient uploadFile:filename toPath:nil fromPath:fromPath];
In my case I have to always specify toPath(@"")
attribute even if I specify root directory.
精彩评论