Thread:Alogenfe/@comment-24339568-20141121030412/@comment-24339568-20141125223219

Absolutely! I used this article to add Twitter and Facebook widgets. I then went to http://snapwidget.com/ and customized a widget that I liked. I copied the code and put it into MediaWiki:InstagramWidget and then inserted   "<.verbatim>InstagramWidget "  into the home page script.

The code on MediaWiki:TwitterWidget looks like this for us:

"<.a class="twitter-timeline" href="https://twitter.com/iHasCupquake" data-widget-id="536388293823561728">Tweets by @iHasCupquake !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"); "

The Code on MediaWiki:InstagramWidget looks like this for us:

"<.iframe src="http://snapwidget.com/sc/?u=dGlmZnlxdWFrZXxpbnwyNTB8M3wzfHxub3w1fGZhZGVPdXR8b25TdGFydHx5ZXN8bm8=&ve=221114" title="Instagram Widget" class="snapwidget-widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:100%; height:250px"> "

I changed the width to 100% so it would automatically stretch to whatever page it was placed in.

These codes are inserted on our homepage: "<.verbatim>TwitterWidget " "<.verbatim>InstagramWidget " "<.fb:like-box name="158696904166650"/>"

Don't try and code the Twitter Widget on your own. Go to your twitter account (or create one) and go to settings. You will see a widgets tab. Click that and customize it how you like, and then copy the code and put it in MediaWiki:TwitterWidget. The Twitter widget likes to be moody sometimes and will stop working, but it turns back on after a while. I added periods at the beginning of all of the scripts so they wouldn't actually work. If you use them take the period out.

Hope that helped!