Slack API - Hide some information of profile in response -


when using users.list method i'm getting every profile information of every team member. need hide of information (because user can inspect page, listening requests , getting knowledge of skype id or phone number example). there special argument can send slack api return profile.images & profile.real_name?

current request:

$.ajax({         type: 'get',         datatype: 'json',         url: 'https://slack.com/api/users.list?token=' + slackaccesstoken + '&presence=1&pretty=1',         data: {format: 'json'}        }; 

after hours trying done, best way of doing building proxy (simple php file) endpoint of request , filter informations there. otherwise can create security leak.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -