# Twitch API in an extension

**URL:** <https://discuss.dev.twitch.com/t/twitch-api-in-an-extension/43557>\
**Category:** Extensions\
**Created:** [February 15, 2023, 12:22am UTC](https://discuss.dev.twitch.com/t/twitch-api-in-an-extension/43557 "2023-02-15T00:22:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![LemonYourAid](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@LemonYourAid](https://discuss.dev.twitch.com/u/LemonYourAid)\
**Post date:** [February 15, 2023, 12:28am UTC](https://discuss.dev.twitch.com/t/twitch-api-in-an-extension/43557/3 "2023-02-15T00:28:00Z")

</div>

> [@Opaque\_user\_id to user id](https://discuss.dev.twitch.com/t/opaque-user-id-to-user-id/42167/9):
>
> ur code seems correct, other than you didn’t parse the result to JSON but I don’t use X

OH It’s a VARIABLE, here I was thinking it was some sort of library. Now I feel really dumb. Thank you!

I haven’t done much with JSON & Javascript, but you’re probably right about needing to parse it.

---

_[View the full topic](https://discuss.dev.twitch.com/t/twitch-api-in-an-extension/43557)._
