Widget:Twitter: Difference between revisions

From CSDMS
No edit summary
Undo revision 222602 by WikiSysop (talk)
Tag: Undo
 
Line 1: Line 1:
<noinclude>__NOTOC__
<span class="plainlinks"><noinclude>__NOTOC__
This widget allows you to embed a '''[https://developer.twitter.com/en/docs/twitter-for-websites/overview.html Twitter feed]''' (HTML version) on your wiki page.
This widget allows you to embed a '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page.


Originally created by [https://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]. Updated code created by [https://www.mediawiki.org/w/index.php?title=User:Kelson Emmanuel Engelhart] (pulled from [https://phabricator.wikimedia.org/T207716 Phabricator: T207716])
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]


== Using this widget ==
== Using this widget ==
For information on how to use this widget, see [https://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org].
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org].


== Copy to your site ==
== Copy to your site ==
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
</noinclude><includeonly><a class="twitter-timeline" href="https://twitter.com/<!--{$id}-->?ref_src=twsrc%5Etfw"></a>
</noinclude><includeonly><a class="twitter-timeline" width="485" height="280" aria-polite="polite" data-chrome="noheader nofooter transparent" href="" data-widget-id="<!--{$id|escape:'html'}-->"></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="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></includeonly>
<!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><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><!--{/if}--></includeonly>

Latest revision as of 07:22, 31 January 2019

This widget allows you to embed a Twitter feed (HTML version) on your wiki page.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Twitter article.