如何将哈希从 Live API for Contacts 的响应转换为文本

问题描述:

我集成了 Live JS api 来获取用户的实时联系人,它以哈希格式 (email_hash) 返回电子邮件.如何使用 javascript 或 c#.net 转换为可读文本非常感谢!

I have integrated Live JS api to fetch Live contacts of a user, it returns emails in hash format (email_hash). How can i convert into readable text, using javascript or c#.net Many thanks!

我遇到了同样的问题,我找到了解决方案,您需要做的就是将以下范围添加到您请求的范围列表中:"wl.contacts_emails"

I had the same problem and I find the solution, all you need to do is add the following scope to your list of scopes you're requesting: "wl.contacts_emails"

WL.login({scopes: ["wl.contacts_emails"]});

这样做之后,我不得不从我的个人资料中删除我的应用程序以重置所有范围并再次添加我的应用程序.(但如果您不想询问所有使用您应用的人,我可以重置秘密令牌以强制用户再次添加您的应用).

After did that, I had to remove my application from my profile to reset all scope and add a second time my application. (But if you don't want to ask all people who alerady use your apps, I can just reset secret token to force user to add again your app).

最好的,蒂埃里