# Is it possible to embed a Glitch app into a Write.as page?

**URL:** <https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051>\
**Category:** Customization\
**Created:** [January 9, 2020, 10:49pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051 "2020-01-09T22:49:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [January 9, 2020, 10:49pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/1 "2020-01-09T22:49:53Z")

</div>

For example, can I embed a Glitch app into a part of my About page?

---

<div class="post-metadata">

**Author:** ![cjeller1592](https://discuss.write.as/user_avatar/discuss.write.as/cjeller1592/32/128_2.png) [@cjeller1592](https://discuss.write.as/u/cjeller1592)\
**Post date:** [January 10, 2020, 2:38pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/2 "2020-01-10T14:38:04Z")

</div>

You can! Since Write.as supports iframes, all you need to do is copy & paste the embed code in that Glitch provides on the project page. To learn how to do that I’d recommend looking over their [how-to guide](https://glitch.com/help/embed/). It’s pretty straightforward.

If you want to see examples of it in action, I’d recommend @triptych’s post [here](https://triptych.writeas.com/happy-halloween). As a matter of fact, I think he was the first one to discover that you could embed Glitch apps on Write.as.

Hope that helps! I am curious - what kind of app did you think about embedding on there?

---

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [January 10, 2020, 3:36pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/3 "2020-01-10T15:36:53Z")

</div>

That’s great news, thanks for the info.

> [@cjeller1592](#):
>
> I am curious - what kind of app did you think about embedding on there?

Originally I was thinking of embeding a Glitch app that can show the top 3 most popular posts that I’ve written. I like using an app here so the content can be dynamic, instead of me manually updating the page every month or so. I don’t know if the Write.as api will allow me to figure that out though.

Another idea was a Glitch app that can show some Spotify data, like what I’m listening to right now, etc…

---

<div class="post-metadata">

**Author:** ![cjeller1592](https://discuss.write.as/user_avatar/discuss.write.as/cjeller1592/32/128_2.png) [@cjeller1592](https://discuss.write.as/u/cjeller1592)\
**Post date:** [January 10, 2020, 4:56pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/4 "2020-01-10T16:56:47Z")

</div>

A top 3 posts app would be awesome! It’s certainly doable with the API. You need to grab all of your blog’s posts first. Each post gives you a view count, so you can grab those second.

Then, once you compare all of the views and find the top three, you can have the app return the titles of the top 3 along with a link to each. You can have the app do this each time it loads, ensuring that the content dynamically changes as the view counts change.

As far as a Spotify app goes, I’d recommend looking at the Spotfiy team’s [Glitch page](https://glitch.com/@spotify) where they list out implementations of the API in various apps. That should be a good starting point.

---

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [January 10, 2020, 7:13pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/5 "2020-01-10T19:13:10Z")

</div>

> [@cjeller1592](#):
>
> A top 3 posts app would be awesome! It’s certainly doable with the API. You need to grab all of your blog’s posts first. Each post gives you a view count, so you can grab those second.

Got it!

> [@cjeller1592](#):
>
> As far as a Spotify app goes, I’d recommend looking at the Spotfiy team’s [Glitch page](https://glitch.com/@spotify) where they list out implementations of the API in various apps. That should be a good starting point.

Thanks, I found their page and started looking into their apps.

---

<div class="post-metadata">

**Author:** ![cjeller1592](https://discuss.write.as/user_avatar/discuss.write.as/cjeller1592/32/128_2.png) [@cjeller1592](https://discuss.write.as/u/cjeller1592)\
**Post date:** [January 10, 2020, 7:33pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/6 "2020-01-10T19:33:50Z")

</div>

No worries! And just before I forget, here are the Write.as API docs to help you out: [https://developers.write.as/docs/api/](https://developers.write.as/docs/api/)

For your case, I’d recommend specifically looking at the [Retrieve Collection Posts](https://developers.write.as/docs/api/#retrieve-collection-posts) endpoint.

---

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [January 22, 2020, 9:03pm UTC](https://discuss.write.as/t/is-it-possible-to-embed-a-glitch-app-into-a-write-as-page/1051/7 "2020-01-22T21:03:58Z")

</div>

I have the app working. I shared it on the other [thread](https://discuss.write.as/t/share-what-you-are-working-on-and-using/401/67) where we talk about site customizations.
