A lot of sites are using Twitter’s embed functionality that displays as a blockquote until the Javascript that is included on the sites convert it to display properly (show avatars and shared images). Would it be possible to include the JS to do this for tweets embedded into stories on NewsBlur?
2 Likes
I believe the JS is embedded in the story and is actually stripped out. Can you give me an example newsblur.com/site url?
Samuel,
I’m not sure what you’re looking for, but I did some checking and here is what I found. An article on Vox.com (http://www.vox.com/2015/8/11/9130221/ferguson-pepper-spray) has a bunch of embedded tweets and have this JS file included:
<script src="<a%20rel=" nofollow target="_blank" title="Link null">//platform.twitter.com/widgets.js</a>" charset="<a rel="nofollow" target="_blank">utf-8</a>"></script>
I took the contents of the script and executed it on the article in NewsBlur and the blockquotes all turned into embedded tweets. You should be able to add this line near the bottom of your page after the articles are loaded to do the trick.
Thanks for all the great work you do!