opensmc / opensmc.github.io

Initial website for Open SMC, a Code for America Brigade in San Mateo County.
http://opensmc.org
6 stars 10 forks source link

Add OpenSMC Twitter feed to homepage #14

Closed ShellSV closed 8 years ago

verythorough commented 8 years ago

Twitter widget builder here: https://twitter.com/settings/widgets/new/user?user_id=4275472874 The Twitter widget builder requires a Twitter account, so for those who might not have one, I've run the builder and generated the embed code:

<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/OpenSMC" data-widget-id="715218215090069505">Tweets by @OpenSMC</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Copy that code and paste it into index.html, at the end of the file, before the comment about adding a twitter widget. (You can delete the comment, too.)

verythorough commented 8 years ago

Closed by #18