Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert hash into text from the response of Live API for Contacts

Tags:

javascript

c#

api

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!

like image 245
Lucky Avatar asked Nov 29 '22 16:11

Lucky


1 Answers

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).

Best, Thierry

like image 151
Thierry Avatar answered Dec 09 '22 16:12

Thierry