Question

i want to add a twitter feed to my yahoo site, but i cant use the code given.?

heres the code:

<a class="twitter-timeline" href="twitter.com/maristwrestling" data-widget-id="277610690666172416">Tweets by @maristwrestling</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>


i tried adding an html box but java isnt allowed and vice versa for the widget box.
d.getElementById(id{js=d.createElement(s)
;js.id=id;js.src="//platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

1 year ago - 1 answers

Best Answer

Chosen by Asker

Hey Trejon,

From what you are describing, it sounds like you are using Yahoo! Site Solution to create your site. It is true that some social media widgets will not work with the HTML widget due to the Java script it is using, however there are other ways of adding a Twitter feed to Site Solution.

Within the widget tool, there is another option for Widgetbox. These are 3rd party widgets from www.widgetbox.com that will allow you to add feeds, including Twitter feeds, to Site Solution. On of the Twitter feed widgets can be found here:

www.widgetbox.com/widgets/make?code...

Adding these widgets are similar to adding the HTML code that you were attempting earlier.

If you have any other questions on how to add widgets or about your account, feel free to contact us at smallbusiness.yahoo.com/contactus/

Source(s):

1 year ago