2012-06-12 5 views
1

Вот список параметров, которые использует плагин JQuery Tweet. http://tweet.seaofclouds.com/jquery.tweet.js Мне нужно получить список твитов, которые только упомянуть определенное слово, уходящее до 4-5 недель, как я inrincrease таймфрейма, в котором плагин тянет твит отJquery tweet timeframe параметр

$.fn.tweet = function(o){ 
    var s = $.extend({ 
     username: null,       // [string or array] required unless using the 'query' option; one or more twitter screen names (use 'list' option for multiple names, where possible) 
     list: null,        // [string] optional name of list belonging to username 
     favorites: false,       // [boolean] display the user's favorites instead of his tweets 
     query: null,        // [string] optional search query (see also: http://search.twitter.com/operators) 
     avatar_size: null,      // [integer] height and width of avatar if displayed (48px max) 
     count: 3,         // [integer] how many tweets to display? 
     fetch: null,        // [integer] how many tweets to fetch via the API (set this higher than 'count' if using the 'filter' option) 
     page: 1,         // [integer] which page of results to fetch (if count != fetch, you'll get unexpected results) 
     retweets: true,       // [boolean] whether to fetch (official) retweets (not supported in all display modes) 
     intro_text: null,       // [string] do you want text BEFORE your your tweets? 
     outro_text: null,       // [string] do you want text AFTER your tweets? 
     join_text: null,       // [string] optional text in between date and tweet, try setting to "auto" 
     auto_join_text_default: "I said,",  // [string] auto text for non verb: "I said" bullocks 
     auto_join_text_ed: "I",     // [string] auto text for past tense: "I" surfed 
     auto_join_text_ing: "I am",    // [string] auto tense for present tense: "I was" surfing 
     auto_join_text_reply: "I replied to",  // [string] auto tense for replies: "I replied to" @someone "with" 
     auto_join_text_url: "I was looking at", // [string] auto tense for urls: "I was looking at" http:... 
     loading_text: null,      // [string] optional loading text, displayed while tweets load 
     refresh_interval: null,     // [integer] optional number of seconds after which to reload tweets 
     twitter_url: "twitter.com",    // [string] custom twitter url, if any (apigee, etc.) 
     twitter_api_url: "api.twitter.com",  // [string] custom twitter api url, if any (apigee, etc.) 
     twitter_search_url: "search.twitter.com", // [string] custom twitter search url, if any (apigee, etc.) 
     template: "{avatar}{time}{join}{text}", // [string or function] template used to construct each tweet <li> - see code for available vars 
     comparator: function(tweet1, tweet2) { // [function] comparator used to sort tweets (see Array.sort) 
     return tweet2["tweet_time"] - tweet1["tweet_time"]; 
+0

Не похоже, что вы можете (без взлома плагина). Я не вижу варианта, как далеко вернуться. – j08691

ответ

0

я думаю, может быть, граф : делает трюк, как большее количество твитов, которые вы получаете назад, вовремя, какие-то мысли?