You can now embed #twtpoll questions and/or results to your website to increase participation from non-Twitter users as well as share your findings with your readers. It’s a simple 2-line code and you can find them on the results page of your poll.
For example, this will display your poll question (where w99725 is the specific code for your #twtpoll)
<script src=”http://twtpoll.com/js/badge.js” type=”text/javascript”></script>
<script src=”http://twtpoll.com/badge/?twt=w99725” type=”text/javascript”></script>
And this will display the poll results (where s=200 is the size of the pie chart in pixels)
<script src=”http://twtpoll.com/js/badge.js” type=”text/javascript”></script>
<script src=”http://twtpoll.com/badge/r/?twt=w99725&s=200” type=”text/javascript”></script>
You can see how the #twtpoll widgets will appear on the right column of this blog. Also note that if you include both widgets on the same page (as I did here), you don’t need to repeat the first line of the widget. So, it would be:
For the question:
<script src=”http://twtpoll.com/js/badge.js” type=”text/javascript”></script>
<script src=”http://twtpoll.com/badge/?twt=w99725″ type=”text/javascript”></script>
And for the results:
<script src=”http://twtpoll.com/badge/r/?twt=w99725&s=200″ type=”text/javascript”></script>
Let us know if you have any questions!



