Advertisement
mhorning

Twitter Widget OldSchool Embed

Sep 27th, 2012
800
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script src="http://widgets.twimg.com/j/2/widget.js"></script>
  2. <script>
  3. new TWTR.Widget({
  4.   version: 2,
  5.   type: 'search',
  6.   /*put your twitter id that people use to reply to you below. Mine is mhorning. If you only want to see the Tweets that you have Tweeted, then delete the part below that says- OR to:mhorning */
  7.  
  8.   search: 'from:mhorning OR to:mhorning',
  9.  
  10.    /*this is the duration in terms of seconds*/
  11.   interval: 30000,
  12.  
  13.    /*this is the title you want on your tweets*/
  14.   title: 'BGSU Tweets',
  15.  
  16.   subject: 'Send us your comments',
  17.    /*setting width to 'auto' will adjust the width of your tweetbox to whatever is set on your div. You can change this to something like 500px if you want*/
  18.   width: 'auto',
  19.   height: 300,
  20.   theme: {
  21.     shell: {
  22.      
  23.        /*this will change the background color of your tweetbox. It is currently yellow*/
  24.       background: '#fac935',
  25.       /*this will change the color of the text in your background*/
  26.      
  27.       color: '#ffffff'
  28.     },
  29.     tweets: {
  30.      
  31.        /*this will change the background color behind your tweets. It is currently white*/
  32.       background: '#ffffff',
  33.        /*this will change the color of the text in your tweets. It is currently pink*/
  34.       color: '#f890b2',
  35.        /*this will change the color of anything that is hyperlinked in your tweet. It is currently blue*/
  36.       links: '#1985b5'
  37.     }
  38.   },
  39.   features: {
  40.     scrollbar: false,
  41.     loop: true,
  42.     live: true,
  43.     behavior: 'default'
  44.   }
  45. }).render().start();
  46. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement