Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Autoscrolling and looping twitter widget help?

    I want to create an autoscrolling and looping twitter widget. Something like on this site. http://www.careit.ca/

    I've been trying to find out how to create a twitter widget like one in that site. The widget isn't live, but I noticed if you refresh a page any tweets will be added. I looked through the source code, but couldn't find any twitter api's called. Also they call in two twitter accounts not one.

    I looked at the site's source code and I looked through all the js files, but I couldn't figure out how the tweets were being pulled. Can someone help me please?

  • #2
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this Code :

    PHP Code:
    <script src="http://widgets.twimg.com/j/2/widget.js" type="text/javascript"></script>

    <script>
    new TWTR.Widget({
      version: 2,
      type: 'profile',
      rpp: 4,
      interval: 6,
      width: 300,
      height: 300,
      theme: {
        shell: {
          background: 'transparent',
          color: '#000000'
        },
        tweets: {
          background: 'transparent',
          color: '#333',
          links: '#0099cc'
        }
      },
      features: {
        scrollbar: false,
        loop: true,
        live: false,
        hashtags: true,
        timestamp: false,
        avatars: true,
        fullscreen: false,
        behavior: 'all'

      }
    }).render().setUser('Olympics').start();

    </script> 


    Best Regards,
    Navin Patel
    Last edited by VIPStephan; 08-09-2012 at 03:01 PM. Reason: added code BB tags and removed fake signature

  • #3
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have that code, but I can't make it auto scroll and loop the last 5 tweets like in the website I linked above.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •