# Extension source code

**URL:** <https://staging-discuss.dev.twitch.com/t/extension-source-code/11990>\
**Category:** Extensions\
**Created:** [September 14, 2017, 12:52am UTC](https://staging-discuss.dev.twitch.com/t/extension-source-code/11990 "2017-09-14T00:52:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkubatko](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/dkubatko/32/4100_2.png) [@dkubatko](https://staging-discuss.dev.twitch.com/u/dkubatko)\
**Post date:** [September 14, 2017, 12:52am UTC](https://staging-discuss.dev.twitch.com/t/extension-source-code/11990/1 "2017-09-14T00:52:52Z")

</div>

Hey there,  
I have read through the extensions documentation and I have like million questions. It would be much easier for me to see the actual example of the existing extension. Is there any provided?

P.S. If not, I would really appreciate if anyone helps me to walk through the documentation 😄

---

<div class="post-metadata">

**Author:** ![Samiff](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/samiff/32/3004_2.png) [@Samiff](https://staging-discuss.dev.twitch.com/u/Samiff)\
**Post date:** [September 14, 2017, 10:14am UTC](https://staging-discuss.dev.twitch.com/t/extension-source-code/11990/2 "2017-09-14T10:14:55Z")

</div>

Not sure any examples have been “publicly” posted yet, but try installing the various extensions yourself. Then you can open up your browser dev tools and look at the received html/js/css files the extension loads. Obviously you won’t be able to know how their backends work if they use one, but it’s a good start. You can copy the files to your computer and unminify if necessary. Some extensions are harder to look at because of their build tools, but others are quite vanilla and a good read. I’m working on a simple extension right now myself and will definitely post it when it’s finished.

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [September 14, 2017, 10:56am UTC](https://staging-discuss.dev.twitch.com/t/extension-source-code/11990/3 "2017-09-14T10:56:40Z")

</div>

Extensions are nothing special really, it’s literally just an iframe that you can do what you want in.

Twitch provides a JS library to easily get a viewing users TwitchID, and a way to communicate data up and down…
