Jump to content

Suggestion: Embedded tweets


Recommended Posts

Twitter rolled out their new embedded tweets functionality last week:


It would be nice if we could get a BBCode that both embeds the Javascript version of the tweet, and also fetches the text and includes the HTML in the page so that the tweet content is readable by search engines. Twitter's oEmbed functionality seems to be the way to do that.

I don't think this is achieveable via a regular custom BBCode - somebody please correct me if I am wrong.

I can think of several useful applications for embedded tweets. On my site for example, we often translate Korean-language tweets into English, and it would be nice to embed the original tweet within the post.

Link to comment
Share on other sites

A custom bbcode can execute any PHP code you wish - I'm not sure why you couldn't do virtually anything with a "regular custom bbcode".

Ah cool, I did not know this was possible. I stand corrected, thank you. I'll give it a go and see if I can get it working.

I still think it would be a nice feature to include as standard though - since you already have a [twitter] bbcode, a [tweet] code is an obvious complement to that.
Link to comment
Share on other sites

  • 1 month later...

Has anyone been able to achieve this with a custom BBcode now that the new Twitter (along with embed code) is available to almost everyone?


<blockquote class="twitter-tweet"><p>Invision Power Services: IP.Board 3.3 Dev Update: Auto-share on posting <a href="https://twitter.com/search/%2523ipboard">#ipboard</a> <a href="http://t.co/LrHPAXWT" title="http://topic.to/2jaq">topic.to/2jaq</a></p>— mattmecham (@mattmecham) <a href="https://twitter.com/mattmecham/status/166883403944296449" data-datetime="2012-02-07T13:57:58+00:00">February 7, 2012</a></blockquote>

<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Link to comment
Share on other sites

  • 11 months later...


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...