Re: [twitter-dev] How can I search Twitter for tweets containing an exact phrase

2010-06-27 Thread Jonathan Reichhold
The issue here is that the characters around the $t are considered
whitespace from parser we use.  $t will work, but if it is surrounded by
ignored characters then you will get what you consider junk.   The streaming
API will work better for just following a single topic, but the specific
query here for $t was created for stock search years ago.  We likely need to
think about this case and and maybe improve the parser.

Jonathan
@jreichhold

On Sun, Jun 27, 2010 at 8:21 PM, John Kalucki  wrote:

> You may need to do some post-processing on your end to get exactly what you
> want. You could search for t, then discard all tweets that don't contain $t.
>
> But, it sounds like you are doing a repetitive automated search. You should
> be using the Streaming API for this. Try using track for $t, it might work.
> If not, track for t, then post-process. If you use search, you will miss
> some tweets, due to relevance filtering.
>
> -John Kalucki
> http://twitter.com/jkalucki
> Infrastructure, Twitter Inc.
>
>
>
> On Sun, Jun 27, 2010 at 3:09 PM, Zhami  wrote:
>
>> I need to search Twitter for tweets containing the phrase "$T" (T
>> being the trading symbol for AT&T). When I perform a search for this,
>> I get back oodles of results where "$t" is not a complete phrase, but
>> the characters in some larger phrase, which isn't what I want. Alas,
>> $t is quite common in 1337 (leet) phraseology.
>>
>> The Web interface for search.twitter.com "advanced" offers an entry
>> for "This exact phrase" but I can't get that to work. I have tried
>> specifying spaces on either side of the $t text, as in:
>> http://search.twitter.com/search?phrase=%20%24t%20
>> But the search engine ignores the spaces and returns non-"exact"
>> phrase matches.
>>
>> Is there any way to inform the search engine that I want exact-exact
>> matches, or whole-word matches?
>>
>
>


Re: [twitter-dev] How can I search Twitter for tweets containing an exact phrase

2010-06-27 Thread John Kalucki
You may need to do some post-processing on your end to get exactly what you
want. You could search for t, then discard all tweets that don't contain $t.

But, it sounds like you are doing a repetitive automated search. You should
be using the Streaming API for this. Try using track for $t, it might work.
If not, track for t, then post-process. If you use search, you will miss
some tweets, due to relevance filtering.

-John Kalucki
http://twitter.com/jkalucki
Infrastructure, Twitter Inc.



On Sun, Jun 27, 2010 at 3:09 PM, Zhami  wrote:

> I need to search Twitter for tweets containing the phrase "$T" (T
> being the trading symbol for AT&T). When I perform a search for this,
> I get back oodles of results where "$t" is not a complete phrase, but
> the characters in some larger phrase, which isn't what I want. Alas,
> $t is quite common in 1337 (leet) phraseology.
>
> The Web interface for search.twitter.com "advanced" offers an entry
> for "This exact phrase" but I can't get that to work. I have tried
> specifying spaces on either side of the $t text, as in:
> http://search.twitter.com/search?phrase=%20%24t%20
> But the search engine ignores the spaces and returns non-"exact"
> phrase matches.
>
> Is there any way to inform the search engine that I want exact-exact
> matches, or whole-word matches?
>


[twitter-dev] How can I search Twitter for tweets containing an exact phrase

2010-06-27 Thread Zhami
I need to search Twitter for tweets containing the phrase "$T" (T
being the trading symbol for AT&T). When I perform a search for this,
I get back oodles of results where "$t" is not a complete phrase, but
the characters in some larger phrase, which isn't what I want. Alas,
$t is quite common in 1337 (leet) phraseology.

The Web interface for search.twitter.com "advanced" offers an entry
for "This exact phrase" but I can't get that to work. I have tried
specifying spaces on either side of the $t text, as in:
 http://search.twitter.com/search?phrase=%20%24t%20
But the search engine ignores the spaces and returns non-"exact"
phrase matches.

Is there any way to inform the search engine that I want exact-exact
matches, or whole-word matches?


Re: [twitter-dev] Retweets of me...

2010-06-27 Thread Harshad RJ
Digging up an old post.

Is this still the only way to show "retweets of me"?

Is Twitter working on an alternative, where just one API call would be
sufficient?

On Fri, Apr 2, 2010 at 9:13 PM, Abraham Williams <4bra...@gmail.com> wrote:

> Once you know which tweets have been retweeted you can use
> statuses/id/retweeted_by [1] to see who retweeted them.
>
> Abraham
>
> [1]
> http://apiwiki.twitter.com/Twitter-REST-API-Method:-GET-statuses-id-retweeted_by
>
>
> On Fri, Apr 2, 2010 at 08:09, Nigel Legg  wrote:
>
>> Just been checking out the "retweets of me" function, using
>> http://api.twitter.com/1/statuses/retweets_of_me.xml, and my own user
>> name and password.  Am I missing something?  This function does not show who
>> retweeted me or when - just what was retweeted.  Another reason to use cut
>> and paste and edit - with "RT @nigellegg" in it - then the person you are
>> retweeting will see who retweeted them and when.
>> Though I am obviously missing something, as on twitter.com I have found
>> who retweeted me and when.  Am I using the wrong function to do this?
>> Cheers, Nigel.
>>
>
>
>
> --
> Abraham Williams | Community Advocate | http://abrah.am
> PoseurTech Labs | Projects | http://labs.poseurtech.com
> This email is: [ ] shareable [x] ask first [ ] private.
>



-- 
Harshad RJ
http://hrj.wikidot.com