Tweet.js-Mod icon indicating copy to clipboard operation
Tweet.js-Mod copied to clipboard

twitter_search_url

Open sybesma opened this issue 12 years ago • 4 comments

Thanks for your great work!

Everything is working but search.

I am not an expert but i managed it by changing: line: 36 Should be: api.twitter.com

And on line 193:

host: s.twitter_search_url, url: "/1.1/search/tweets.json", parameters: $.extend({}, defaults, {

                    q: query,

sybesma avatar Jun 12 '13 13:06 sybesma

You are absolutely correct, it was this way in v1.3, but I changed it because of all the complaints about searching on multiple user names. Will push a fix shortly

StanScates avatar Jun 12 '13 13:06 StanScates

I will wait for its update if it works again,

Regards

djiesamsoe avatar Jun 13 '13 04:06 djiesamsoe

@sybesma even with the changes you described, i cannot get search/tweets.json to display all tweets matching my query

koraysels avatar Jun 14 '13 10:06 koraysels

I changed lines 190-201 in jquery.tweet.js to this and it seems to work:

        } else {
            var query = (s.query || 'from:'+s.username.join(' OR from:'));
            return {
                host: s.twitter_api_url,
                url: "/1.1/search/tweets.json",
                parameters: $.extend({}, defaults, {
                    rpp: s.page,
                    q: query,
                    count: count
                })
            };
        }

robertcrowe-zz avatar Jun 16 '13 21:06 robertcrowe-zz