我使用 withings 示例代码从 withings 成功重定向(回调 url)。
http://wbsapi.withings.com/cgi-bin/measure?action=getmeas&devtype=1
&oauth_consumer_key=xxxxxxxxx
&oauth_nonce=xxxxxxx
&oauth_signature=xxxxx
&oauth_signature_method=yyyy
&oauth_timestamp=yyyyy
&oauth_token=xxxxxx
&oauth_version=1.0&userid=xxx
我已经成功生成auth_token
和oauth_token_secret
.
Array( [oauth_token] => xxxxxxxxxxxxxxxxxxxxxxx[oauth_token_secret] => xxxxxxxxxxxxxxxx).
https://oauth.withings.com/account/access_token?
oauth_consumer_key=xxxxxxxxxxxxxxxxx
&oauth_nonce=xxxx
&oauth_signature=xxxxxxx
&oauth_signature_method=yyyyy
&oauth_timestamp=yyyyyyy
&oauth_token=yyyyyy
&oauth_version=1.0
&userid=xxxx
我从 withings 成功重定向(回调 url)。但我无法获取用户信息。我需要帮助来获取用户信息。
像这样跟随:
- 名
- 姓
- 电子邮件
- 重量
- 等等