# How to get data on users without exposing my client id

**URL:** <https://discuss.dev.twitch.com/t/how-to-get-data-on-users-without-exposing-my-client-id/31678>\
**Category:** API\
**Created:** [May 15, 2021, 7:32pm UTC](https://discuss.dev.twitch.com/t/how-to-get-data-on-users-without-exposing-my-client-id/31678 "2021-05-15T19:32:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharbel](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/sharbel/32/12135_2.png) [@Sharbel](https://discuss.dev.twitch.com/u/Sharbel)\
**Post date:** [May 15, 2021, 7:32pm UTC](https://discuss.dev.twitch.com/t/how-to-get-data-on-users-without-exposing-my-client-id/31678/1 "2021-05-15T19:32:21Z")

</div>

Hello, I need help figuring out how to use twitch api in my C# console app (visual studio) to check if a username exists, now I know that i need a client ID but the issue that i am having is how to do that if i am planning on sending this program to my friends. from what i understood is that the client id is something personal so what should i do here? i don’t think i can ask all my friends to each make his own client ID (as they are not all into tech stuff, beside i dont think that this is a process a “user” should do) so i appreciate it if you can tell me how to do it!

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [May 15, 2021, 7:37pm UTC](https://discuss.dev.twitch.com/t/how-to-get-data-on-users-without-exposing-my-client-id/31678/2 "2021-05-15T19:37:13Z")

</div>

ClientID’s are public

Since oAuth requires it to be visible

Example: [https://barrycarlyon.github.io/twitch\_misc/authentication/implicit\_auth/](https://barrycarlyon.github.io/twitch_misc/authentication/implicit_auth/)

Contains the clientID for my GitHub “Test Twitch” application.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [June 14, 2021, 7:37pm UTC](https://discuss.dev.twitch.com/t/how-to-get-data-on-users-without-exposing-my-client-id/31678/3 "2021-06-14T19:37:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
