开发者

Can I embed a twitter feed in my email?

I'm about to send out an email campaign to my c开发者_JAVA百科lients. 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, interval: 6000, title: 'The best of Twitter according to', subject: 'My Tweets', width: 250, height: 300, theme: { shell: { background: '#8540c2', color: '#ffffff' }, tweets: { background: '#ffffff', color: '#444444', links: '#43c43f' } }, features: { scrollbar: true, loop: false, live: true, hashtags: true, timestamp: true, avatars: true, behavior: 'all' } }).render().setUser('maryamKE').start(); </script>


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.


There is no good way to accomplish this with the embeds provided directly from Twitter.

This was a need I also had and created a service that makes it extremely easy: https://www.widgmail.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜