# Tecnoblog's Experience With Discourse Comments

**URL:** https://meta.discourse.org/t/tecnoblogs-experience-with-discourse-comments/400721
**Category:** Feature
**Tags:** embedding
**Created:** [April 15, 2026, 6:15pm UTC](https://meta.discourse.org/t/tecnoblogs-experience-with-discourse-comments/400721 "2026-04-15T18:15:07Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![Thiago\_Mobilon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thiago_mobilon/32/177756_2.png) [@Thiago\_Mobilon](https://meta.discourse.org/u/Thiago_Mobilon)
#### Post date: [April 16, 2026, 5:17pm UTC](https://meta.discourse.org/t/tecnoblogs-experience-with-discourse-comments/400721/15 "2026-04-16T17:17:30Z")

</div>

> [@Falco](#):
>
> Handled in
> 
> [UX: Support dynamic iframe height for full app embed mode by xfalcox · Pull Request #39297 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/39297)

I am encountering difficulties in getting dynamic height to function correctly. Despite updating Discourse and refreshing my snippet with the latest configurations, the issue persists.

```plaintext
        <h4 class="comments-main-title component-title">Comentários</h4>
        <div id='discourse-comments'></div>

        <meta name='discourse-username' content='<?php echo esc_attr($discourse_author); ?>'>

        <script type="text/javascript">
            DiscourseEmbed = {
                discourseUrl: '<?php echo esc_url($discourse_url); ?>',
                
                <?php if ($use_topic_id): ?>
                    // Modo ID: Tópico salvo no banco, imune a mudanças de URL
                    topicId: <?php echo intval($topic_id); ?>,
                <?php else: ?>
                    // Modo URL: Fallback quando a criação via API falha
                    discourseEmbedUrl: '<?php echo esc_url($permalink); ?>',
                <?php endif; ?>
                fullApp: true,
                lazyLoad: true, // disable lazy loading of the iframe
                lazyLoadMargin: '1500', // pixels before viewport to start loading
                dynamicHeight: true,
                embedMinHeight: '400',
                embedMaxHeight: '3000',
					  embedHeight: '800px',
                // className: 'CLASS_NAME',
            };

            (function() {
            var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
            d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
            })();
        </script>

```

[https://tecnoblog.net/noticias/samsung-wallet-agora-suporta-pix-por-aproximacao/](https://tecnoblog.net/noticias/samsung-wallet-agora-suporta-pix-por-aproximacao/)

---

_[View the full topic](https://meta.discourse.org/t/tecnoblogs-experience-with-discourse-comments/400721)._
