# Link Discourse with a Twitter account (Adding Twitter card and via attribute)

**URL:** <https://meta.discourse.org/t/link-discourse-with-a-twitter-account-adding-twitter-card-and-via-attribute/27995>\
**Category:** Feature\
**Created:** [2015 年4 月 27 日 14:09 UTC](https://meta.discourse.org/t/link-discourse-with-a-twitter-account-adding-twitter-card-and-via-attribute/27995 "2015-04-27T14:09:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

作者： ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
发布日期： [2015 年4 月 28 日 01:45 UTC](https://meta.discourse.org/t/link-discourse-with-a-twitter-account-adding-twitter-card-and-via-attribute/27995/2 "2015-04-28T01:45:48Z")

</div>

This already happens, in fact you have to set up Twitter logins to get Twitter to embed at all… however, official Twitter embeds of variable size (height) cause huge problems in our rendering strategy within topics.

@techapj implemented this but it caused wild fluctuations in page rendering when a big, tall (but unknown in height until actually rendered) Twitter “official” embed appeared on the page. Like with, say, an image in it.

---

_[View the full topic](https://meta.discourse.org/t/link-discourse-with-a-twitter-account-adding-twitter-card-and-via-attribute/27995)._
