【发布时间】:2014-02-05 06:13:56
【问题描述】:
我已经使用 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)。但我无法获取用户信息。我需要帮助来获取用户信息。
如下:
- 名字
- 姓氏
- 电子邮件
- 重量
- 等
【问题讨论】:
-
你终于成功了吗?
-
你有 userid=xxx。使用它,您可以简单地从数据库中获取数据??