Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php OAuth API调用参数不特定_Php_Api_Oauth_Freelancer.com Api - Fatal编程技术网

Php OAuth API调用参数不特定

Php OAuth API调用参数不特定,php,api,oauth,freelancer.com-api,Php,Api,Oauth,Freelancer.com Api,最近我第一次与OAuth合作,我已经获得了访问令牌以及之前的所有内容,但是我遇到了我认为最简单的部分:( API调用需要一个不太具体的参数,他们只是称它为“oauth”。我已经将访问令牌和密码放入签名中,“oauth”参数中应该包含什么 我在说什么 谢谢!对于oAuth 1.0(Twitter),以下是oAuth HTTP头的外观: Authorization: OAuth oauth_consumer_key="*****", oauth_nonce="fcde5bfc94d489c307f5

最近我第一次与OAuth合作,我已经获得了访问令牌以及之前的所有内容,但是我遇到了我认为最简单的部分:(

API调用需要一个不太具体的参数,他们只是称它为“oauth”。我已经将访问令牌和密码放入签名中,“oauth”参数中应该包含什么

我在说什么

谢谢!

对于oAuth 1.0(Twitter),以下是oAuth HTTP头的外观:

Authorization: OAuth oauth_consumer_key="*****", oauth_nonce="fcde5bfc94d489c307f59aa384df9ef3", oauth_signature="tWE9gf3Dw0rBiKkN%2BcgO%2Fz%2FE%2FjA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1335428402", oauth_token="*****", oauth_version="1.0"

谢谢你的例子,但是我只关心在我拥有访问令牌之后我需要做什么,你的例子是在这之前,对吗?我相信你也需要传递访问令牌以便进一步查询。你肯定需要在签名中使用它。