小草莓App直播视频_小草视频全集

put twitter on your website with tweet!

Check out the script in action at seaofclouds.com, and see the following demos.

Displaying three tweets from the seaofclouds twitter feed:

    $(function(){
      $(".tweet").tweet({
        join_text: "auto",
        username: "seaofclouds",
        avatar_size: 48,
        count: 3,
        auto_join_text_default: "we said,",
        auto_join_text_ed: "we",
        auto_join_text_ing: "we were",
        auto_join_text_reply: "we replied",
        auto_join_text_url: "we were checking out",
        loading_text: "loading tweets..."
      });
    });
  

Displaying four tweets from the query "tweet.seaofclouds.com":

    $(function(){
      $("#query").tweet({
        avatar_size: 32,
        count: 4,
        query: "tweet.seaofclouds.com",
        loading_text: "searching twitter..."
      });
    });
  

Displaying up to three links with the search query "from:seaofclouds http":

    $(function(){
      $("#userandquery").tweet({
        count: 3,
        query: "from:seaofclouds http",
        loading_text: "searching twitter..."
      });
    });
  

Displaying four tweets from the two users "seaofclouds" and "laughingsquid", refreshing every 10 seconds:

    $(function(){
      $("#fromtwo").tweet({
        avatar_size: 32,
        count: 4,
        username: ["seaofclouds", "laughingsquid"],
        loading_text: "searching twitter...",
        refresh_interval: 10
      });
    });
  

Displaying tweets from users on the 'team' list of 'twitter':

    $(function(){
      $("#list").tweet({
        avatar_size: 32,
        count: 4,
        username: "twitter",
        list: "team",
        loading_text: "loading list..."
      });
    });
  

Displaying the user seaofclouds' favorite tweets:

    $(function(){
      $("#favorites").tweet({
        avatar_size: 32,
        count: 3,
        username: "seaofclouds",
        favorites: true,
        loading_text: "loading list..."
      });
    });
  

Fetch 20 tweets, but filter out @replies, and display only 3:

    $(function(){
      $("#filter").tweet({
        avatar_size: 32,
        count: 3,
        fetch: 20,
        filter: function(t){ return ! /^@\w+/.test(t["tweet_raw_text"]); },
        username: "seaofclouds",
      });
    });
  

Customize the layout to eliminate the date stamps and avatars:

    $(function(){
      $("#custom").tweet({
        avatar_size: 32,
        count: 4,
        username: "seaofclouds",
        template: function(i){return i["text"]}
      });
    });
  

Adding a message when no tweets matching 'somerandomstring' are found:

    $(function(){
      $("#empty").tweet({
        avatar_size: 32,
        count: 4,
        query: rnd,
        loading_text: "searching twitter..."
      }).bind("empty", function() { $(this).append("No matching tweets found"); });
    });
  

NOTE: Some users have reported that they do not show up in Twitter's search results.

  • 1. Get JQuery. In these examples, we use Google's AJAX Libraries API.

    2. include jQuery and jquery.tweet.js files in your template's <head>.

    <script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js" type="text/javascript"></script>
    <script language="javascript" src="/tweet/jquery.tweet.js" type="text/javascript"></script>

    3. Also in <head>, Initialize tweet! on page load with your Username and other options

    <script type='text/javascript'>
        $(document).ready(function(){
            $(".tweet").tweet({
                username: "seaofclouds",
                join_text: "auto",
                avatar_size: 32,
                count: 3,
                auto_join_text_default: "we said,",
                auto_join_text_ed: "we",
                auto_join_text_ing: "we were",
                auto_join_text_reply: "we replied to",
                auto_join_text_url: "we were checking out",
                loading_text: "loading tweets..."
            });
        });
    </script>

    4. In <body>, include a placeholder for your tweets. They'll get loaded in via JSON. How fancy!

    <div class="tweet"></div>

    5. Style with our stylesheet in <head>, or modify as you like!

    <link href="jquery.tweet.css" media="all" rel="stylesheet" type="text/css"/>

    Bring your code slinging skills to Github and help us develop new features for tweet!

    git clone git://github.com/seaofclouds/tweet.git 小美女图片

    Report bugs and request features in Github Issues

    http://www.opensource.org/licenses/mit-license.php

    If you like Tweet, check out Twoot

    Twoot is a miniature Twitter client based on Tweet that allows you to post tweets and see what your friends are up to. Thanks, Peter Krantz!

    SSobwayKUAdNDljTskPB4QSi0P6OSfxvlXnxEsYFjx8vRMt0C4uN8fvsE0B0lWYtPXMIZyo7WnX7ZFdcsw9VfcuKlUSXkrOUBbrTdHncYHj8ETtGjvCY4l3i2Veu1chusSMmMwAbBCk4C1HrCOwaQaEIKR0sJcccrX2Mvz9jicBhHoZLqq8ZzNWhdWDRhNK0rfxNZ48Jqjn0sZYOynq82h3XdeVjtIGfhJOku3YjwHzJVjX1XHwuqEQWIJxoDyfQntrj9JYJEODhK9gVfmzuLsWFX9WuGn7SPqR3IvOHgMo93BXzmYLDtnfi3WFjqHfKd8iVaA7Xa5nfuPAZ7QL3NwzSh1v23X6h70KvELlDE0cdWZEXnxaPmO3mlCmng0MNIGxM1chYHr6j0h5U9g5vwYqvxknWF3AATIrRribwKJmpp8z8k4sFVIOrI0zVn8sabf7jMjms3TQKPsNGh1vi3LIiHIWhPGzYQDPbWGvZ0cYU74uCCLeWbf4i4Wl8wy8nNCRuvMRAvluko20m0bYNrCMREUHhrifPn93M1O6SIGwJv51QxjChcPfKdp8NMmG8cJhWaPcseqy5H3CpIB4whYVnUJuuNUgcSu6jkP6ewWIQ9UMa5sEcPWO966xmrZpoTEaBeOX1f0jX9rOQasZtA70glUQA4Pl1tthbaZdv5fdsyP4ITm4H2QsUmtXN4c3QNFEBYHG9ZIjgxVlwhttp://m.www.gotobrand.cnhttp://www.lchlbbs.cn/571.xmlhttp://www.lchlbbs.cn/7zpgh.xmlhttp://www.chinasport.net.cn/tz7.xmlhttp://www.hayongsheng.com.cn/84296.xmlhttp://www.hayongsheng.com.cn/858.xmlhttp://www.lchlbbs.cn/8497.xmlhttp://www.lchlbbs.cn/3127.xmlhttp://www.cnyitian.cn/8777.xmlhttp://huiyifilter.cn/949.xmlhttp://www.fsjingshun.cn/sVz0L.xml小草视频在线影院