English 中文(简体)
消费者自由自由自由职业者协会
原标题:invalid consumer freelancer API

i 正在将自由职业者 API 整合到一个 iOS 应用程序中, 在认证过程中( 获取请求Token), 我发现以下错误 :

<errors xmlns="http://api.freelancer.com/schemas/xml-0.1">
<error>
    <code>5002</code>
    <msg>General Token Authentication Error</msg>
    <longmsg>Authentication Failed. Reason: invalid consumer</longmsg>
</error>

. I am appending the query params needed for oauth request within the request URL . The url is http://api.sandbox.freelancer.com/RequestRequestToken/requestRequestToken.json?oauth_callback= oob &oauth_consumer_key= * &oauth_signature_method= HMAC-SHA1 &oauth_signature= V58tFJMmk2%252FI6kcZl1m%252BaA%252FK7Bw%253D &oauth_timestamp= 1337768929 &oauth_nonce= EE982DEB-B6D0-47DD-9193-6CCA3F25446E &oauth_version= 1.0 . Any help would be appreciated .

谢谢 谢谢

问题回答

我建议你看看一些Oauth图书馆 来做认证

For one maybe you can take alook at http://code.google.com/p/oauth/

这会对你大有帮助





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签