如何散列转换成文本,从现场的API为联系人响应 [英] How to convert hash into text from the response of Live API for Contacts
问题描述
我已经将现场JS API来获取用户的Live联系人,则返回哈希格式(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"]});
这样做之后,我不得不从我的个人资料中删除我的应用程序,可以将所有范围和添加第二个时间我的应用程序。 (但是,如果你不想询问谁alerady使用你的应用程序所有的人,我可以重置秘密令牌,迫使用户重新添加您的应用程序)。
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).
最佳,
蒂埃里
Best, Thierry
这篇关于如何散列转换成文本,从现场的API为联系人响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!