Twitter

From GHER

(Difference between revisions)
Jump to: navigation, search
(Change the widget aspect)
(Change the widget aspect)
Line 6: Line 6:
= Change the widget aspect =
= Change the widget aspect =
* Login
* Login
-
* Connect to [https://twitter.com/about/resources/widgets https://twitter.com/about/resources/widgets] and follow the instruction
+
* Connect to [https://twitter.com/about/resources/widgets https://twitter.com/about/resources/widgets] and follow the instructions
* Copy/paste the code in the wiki between <htlm> and <\htlm> markers
* Copy/paste the code in the wiki between <htlm> and <\htlm> markers
 +
 +
= Create a "search" widget =
 +
 +
* https://twitter.com/about/resources/widgets
 +
* Or adapt the example hereinafter:
 +
 +
<html>
 +
<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
 +
<script>
 +
new TWTR.Widget({
 +
  version: 2,
 +
  type: 'search',
 +
  search: '#DINEOF',
 +
  interval: 30000,
 +
  title: 'DINEOF ',
 +
  subject: 'what\'s news?',
 +
  width: 350,
 +
  height: 300,
 +
  theme: {
 +
    shell: {
 +
      background: '#8ec1da',
 +
      color: '#ffffff'
 +
    },
 +
    tweets: {
 +
      background: '#ffffff',
 +
      color: '#000000',
 +
      links: '#1985b5'
 +
    }
 +
  },
 +
  features: {
 +
    scrollbar: true,
 +
    loop: false,
 +
    live: true,
 +
    behavior: 'default'
 +
  }
 +
}).render().start();
 +
</script>
 +
</html>

Revision as of 20:04, 11 March 2012

Login

  • twitter
  • User account: our gmail account
  • Password: ask Charles

Change the widget aspect

Create a "search" widget

Personal tools