1

我正在尝试使用 Asana API 显示用户图片,但 /users/id 服务只返回 id、邮件、名称、工作区。我怎样才能?

谢谢

4

3 回答 3

1

(I work at Asana, too)

We recently added the ability to fetch (but not change) the user's photo. Check out the updated documentation (specifically the "photo" attribute of the user model is what you're looking for).

于 2013-07-25T01:08:20.557 回答
1

在 API 提供对照片的访问之前,我们一直在使用的一个有用的解决方法是从 Asana 中获取用户的电子邮件地址,然后尝试从 Gravatar 中提取图片。显然,它要求用户在 Gravatar 注册,并且他们的图片可能与 Asana 中的不同……但对于许多情况来说已经足够了。

于 2013-02-05T23:29:29.363 回答
1

(我在 Asana 工作)

API 目前不提供对用户个人资料照片的访问权限。这是我们正在考虑在未来添加的内容,但我无法提供时间表上的任何细节。

于 2013-01-28T17:04:42.623 回答