Embedded Tweets not showing author, reply, retweet etc


#1

Hello there, I’m trying to embed a tweet for a blog and newsletter. The content of the tweet shows up, but not the author, reply, retweet, etc like it does in the demonstration pages. Am I missing something? Do I need to manually code that in?

This is what I’m inserting:

<blockquote class="twitter-tweet tw-align-left" width="350"><p>Search API will now always return "real" Twitter user IDs. The with_twitter_user_id parameter is no longer necessary. An era has ended. ^TS</p>&mdash; Twitter API (@twitterapi) <a href="https://twitter.com/twitterapi/status/133640144317198338" data-datetime="2011-11-07T20:21:07+00:00">November 7, 2011</a></blockquote>
<script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Should there not be additional code for the items shown in your demonstrations?


#2

I’m actually using this:

Infographic on Infographics! Why Infographics Make Great Marketing Tools - bit.ly/TonmIW #marketing

— Mambo Media (@MamboMedia) October 16, 2012

#3

When you’re viewing the embedded tweet, are you viewing the web page through a web server or just locally on your machine? The Javascript to include widgets.js requires that content is served through a web server. If you’re using a CMS, you’ll also need to make sure you can include arbitrary javascript.


#4

I’m both viewing on a web server AND using an email client.

I figured out on the web server I needed to add http:// to “//platform.twitter.com/widgets.js” to get it to work.

Am I out of luck with embedding tweets in email newsletters (no javascript)?


#5

Yeah, embedded timelines and tweets will not show full representations in emails.

You shouldn’t need to add http:// to that URL to make it work on a page served from a web server (as opposed to served over the local file system, a plugin, or the file:// protocol)

HTTPS would be better if so, though – the relative protocol we use “//” automatically pre-pends http: or https: when loading the content.


#6

Strange on the pre-pend. Doesn’t seem to work without adding the protocol. I’ll change it to https.

For future use, it would be HELLA nice if you could embed a tweet into an email while including the author, retweet, favorite, etc. Just some light unstyled code. I’m afraid to use anything via twitter api without it being documented.

Thanks again!


#7

hello
is there any way to view the retweet count on an embedded post?


#8