我可以在我的电子邮件中嵌入 Twitter 提要吗? [英] Can I embed a twitter feed in my email?
问题描述
我即将向我的客户发送电子邮件营销活动.电子邮件将以 HTML 格式发送,我想在我的电子邮件中嵌入一个 twitter 提要,类似于您在任何地方看到嵌入在博客和网站中的 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 :(
如果可能的话,有什么想法吗?谢谢!这是 twitter 生成的代码:
Any ideas if this is possible? Thanks! Here's the code twitter generated:
<script src="http://widgets.twimg.com/j/2/widget.js"></script><脚本>新的 TWTR.Widget({版本:2,类型:最爱",rpp: 5,间隔:6000,title: '推特的最佳据点',主题:我的推文",宽度:250,身高:300,主题: {壳: {背景:'#8540c2',颜色:'#ffffff'},推文:{背景:'#ffffff',颜色:'#444444',链接:'#43c43f'}},特征: {滚动条:真,循环:假,生活:真实,标签: 真的,时间戳:真,头像:真的,行为:全部"}}).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 提要吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!