madfitz

  • Elite Class Non Coder
  • Posts: 97
Embed tweets
« on March 18th, 2014, 12:04 AM »
This is not a plugin - but it is a request I guess.

If I want to embed a tweet, Twitter gives me the code to place on my website. For example:

Code: [Select]
<blockquote class="twitter-tweet" lang="en"><p>Verbs should always agree with nouns. Rules is rules.</p>— Moose Allain (@MooseAllain) <a href="https://twitter.com/MooseAllain/statuses/444912811849056256">March 15, 2014</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

But it doesn't work in wedge...

<blockquote class="twitter-tweet" lang="en"><p>Verbs should always agree with nouns. Rules is rules.</p>— Moose Allain (@MooseAllain) <a href="https://twitter.com/MooseAllain/statuses/444912811849056256">March 15, 2014</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

See?

Can anybody figure out a way to embed tweets?

CerealGuy

  • Posts: 343
Re: Embed tweets
« Reply #1, on March 18th, 2014, 09:12 PM »Last edited on March 18th, 2014, 11:59 PM
You cant embed html in a post or normally not ^^ But should be possible with a small plugin, i will have a look on it.

EDIT: Quick & Dirty version http://www.xup.in/dl,89763542/twitter_bbc.tar.gz/ Should have problems with multiple tweets in same post :^^;: You just need to insert https://twitter.com/MooseAllain/statuses/444912811849056256 in your post and normally the embedded twitter thing should appear.

madfitz

  • Elite Class Non Coder
  • Posts: 97
Re: Embed tweets
« Reply #2, on March 18th, 2014, 11:45 PM »
I like that (but your file link is broken).

CerealGuy

  • Posts: 343

madfitz

  • Elite Class Non Coder
  • Posts: 97
Re: Embed tweets
« Reply #4, on March 19th, 2014, 08:22 PM »
That works perfectly. Thank you!