我可以在我的电子邮件中嵌入一个twitter feed吗? [英] Can I embed a twitter feed in my email?
问题描述
我即将向我的客户发送电子邮件活动。电子邮件将以HTML格式发送,我想在我的电子邮件中嵌入一个twitter feed,类似于您看到的博客和网站中嵌入的twitter小部件。当我复制并粘贴通过twitter网站生成的代码时,我的电子邮件不会显示任何内容:(
I'm about to send out an email campaign to my clients. The email will be sent in HTML format, and I wanted to embed a twitter feed in my email, similar to the twitter widgets you see embedded in blogs and websites everywhere. When I copy and paste the code generated through the twitter website, my email doesn't render anything :(
任何想法,如果这是可能的谢谢!生成:
Any ideas if this is possible? Thanks! Here's the code twitter generated:
< script src =http://widgets.twimg.com/j/2/widget.js>< ; / script>
< script>
new TWTR.Widget({
version:2,
type:'faves',
rpp:5,
间隔:6000,
标题:最好的Twitter根据',
主题:'我的推文',
宽度:250,
高度:300,
主题:{
shell:{
background:'#8540c2',
color:'#ffffff'
},
tweets:{
背景:'#ffffff',
颜色:'#444444',
链接:'#43c43f'
}
},
功能:{
滚动条:true,
loop:false,
live:true,
hashtags:true,
timestamp:true,
替身:true,
行为: '所有'
}
})。render()。setUser('maryamKE')。start();
< / script>
推荐答案
没有HTML电子邮件的标准,大多数电子邮件客户端明智拒绝JavaScript。我建议您链接到您网站上的一个页面。
There is no standard for HTML email, and most email clients sensibly reject JavaScript. I recommend you link to a page on your web site.
这篇关于我可以在我的电子邮件中嵌入一个twitter feed吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!