[twitter-dev] Retweet chain

2011-03-17 Thread Karthik Murugan
Let us assume:

C follows B. B follows A

A sends a tweet and B retweets it.

C gets the retweet on his timeline and retweets it again.


I'm connected to UserStream of A and I receive both the retweets. But not 
sure how to find the retweet chain

How can we know that C retweeted it via B? Is it exposed in any API methods?


-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: At Symbol (@) in Twitter Search

2009-10-08 Thread Karthik Murugan

This is strange. Did you also notice that for Non-English tweets
returned from http://twitter.com/#search?q=%40, the user names are
decorated with links to their profile pages?

Well, Twitter doesn't index symbols like @ # $ ^. If you'd like to
gather the tweets containing references to twitter names, you should
use the Streaming API to do so, because Search API doesn't treat @ as
a keyword.

On Oct 8, 3:18 am, Nick t2then...@gmail.com wrote:
 The at symbol (@) does not seem to work when searching tweets.  When
 the @ symbol is alone (surrounded by nothing or whitespace) in a
 search, the search returns 0 English results.  Sometimes languages
 that use non-ascii characters seem to be found.  However, when the @
 is followed by at least 1 alphanumeric character, the query seems to
 work fine.

 I found this by searching for @ the diner downtown, and I was
 getting back 0 results, but at least 1 results should have been
 returned, because that's what I tweeted.  This probably affects
 searches for mentions too, because you can't just search for @.

 I've used the web site and the search 
 API:http://twitter.com/#search?q=%40http://search.twitter.com/search.atom?q=%40

 Has anyone gotten a query to work with @ standing alone?  This there a
 different way to perform the same search?


[twitter-dev] Re: statuses/friends page count?

2009-07-24 Thread Karthik Murugan
yes, each page request counts against the API limit

On Fri, Jul 24, 2009 at 10:25 PM, Joseph northwest...@gmail.com wrote:


 Just as aside, does anyone know if each call to a new page counts
 against the API limit?

 On Jul 24, 8:08 am, st...@implu.com st...@implu.com wrote:
  I'm experiencing the same issue with implu. With 14,408 follows, I
  should go up to
  page 145. However, the last page of data is 101 and 102 onwards
  returns nothing.
 
  http://twitter.com/statuses/friends/implu.xml?page=102
 
  The following call does seem to return all the friends/ids however.
 
  http://twitter.com/friends/ids/implu.xml
 
  Any thoughts?
 
  On Jul 10, 10:47 am, Karthik Murugan fermis...@gmail.com wrote:
 
   It's also possible, that some intermediate pages return empty result
   set. Try this,
 http://twitter.com/statuses/followers.json?id=billcrosbypage=124
 
   This profile has 44K followers and some of the intermediate pages
   return empty result sets. Not sure why, but my obvious guess is that
   all the followers in this page are suspended.
 
   So, empty result set doesn't mean that you are done with the
   traversal. I've modified my scripts to crawl N number of pages, where
   N is (number of followers/100). Total number of followers can be
   retrieved by users/show
 
   - Karthik
 
   On Jul 6, 11:31 pm, Doug Williams d...@twitter.com wrote:
 
Duane,Yes, you will get an empty result set if you step off the end:
 
doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=43; | grep
/user | wc -l
100
doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=44; | grep
/user | wc -l
17
doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=45; | grep
/user | wc -l
0
 
Thanks,
Doug
 
--
Do you follow me?http://twitter.com/dougw
 
On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands 
 duane.roela...@gmail.comwrote:
 
 Do you ever get an empty response set?  I was experimenting with
 the
 pagination and I found that if you request page 20 (for example)
 for
 someone who only has one page of friends, you simply get the page 1
 response set.
 
 On Jul 6, 1:09 pm, Doug Williams d...@twitter.com wrote:
  You should either page throughstatuses/friendsuntil you get an
 empty
  response set or use statuses/show to get the number of friends
 expected
 and
  intelligently page to the end of the list.
 
  Thanks,
  Doug
 
 
 



[twitter-dev] Re: Matt Sanford, signing off.

2009-07-17 Thread Karthik Murugan

Good Luck Matt!!

On Jul 18, 2:18 am, Matt Sanford m...@twitter.com wrote:
 Hi everybody*,

      Starting next week I'm not going to be responding to mails on the  
 dev list or working on Google Code issues as part of my daily work. I  
 have been working on the Search and API/Platform teams here at Twitter  
 since the acquisition of Summize a year ago and the time has come for  
 a change. I'm leaving both teams to take on the role of technical lead  
 for the new Twitter internationalization team. Anybody who's gotten me  
 talking about language detection or language-specifics (especially in  
 person) knows this is something I have a personal interest in.
      The other team member are going to continue to keep an eye on the  
 dev list and the Google Code issues. As always you can email a...@twitter.com
   directly if you need something. I'll continue working on the Google  
 Code issues assigned to me or in some cases someone will take them  
 over next week. I mostly felt like I should send you all a good bye  
 since you're considered an extension of the API/Platform team. This  
 change should be fully backward compatible so I didn't see the need  
 for 7-days notice.

 Good night, and good luck;
   – Matt Sanford / @mzsanford
       Twitter Dev

 * = Who just said Hi, Dr. Nick. out loud? Your cube neighbor thinks  
 you're crazy.


[twitter-dev] Re: statuses/friends page count?

2009-07-10 Thread Karthik Murugan

It's also possible, that some intermediate pages return empty result
set. Try this, http://twitter.com/statuses/followers.json?id=billcrosbypage=124

This profile has 44K followers and some of the intermediate pages
return empty result sets. Not sure why, but my obvious guess is that
all the followers in this page are suspended.

So, empty result set doesn't mean that you are done with the
traversal. I've modified my scripts to crawl N number of pages, where
N is (number of followers/100). Total number of followers can be
retrieved by users/show

- Karthik

On Jul 6, 11:31 pm, Doug Williams d...@twitter.com wrote:
 Duane,Yes, you will get an empty result set if you step off the end:

 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=43; | grep
 /user | wc -l
 100
 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=44; | grep
 /user | wc -l
 17
 doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
 http://twitter.com/statuses/followers.xml?count=100page=45; | grep
 /user | wc -l
 0

 Thanks,
 Doug

 --
 Do you follow me?http://twitter.com/dougw

 On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands 
 duane.roela...@gmail.comwrote:





  Do you ever get an empty response set?  I was experimenting with the
  pagination and I found that if you request page 20 (for example) for
  someone who only has one page of friends, you simply get the page 1
  response set.

  On Jul 6, 1:09 pm, Doug Williams d...@twitter.com wrote:
   You should either page through statuses/friends until you get an empty
   response set or use statuses/show to get the number of friends expected
  and
   intelligently page to the end of the list.

   Thanks,
   Doug


[twitter-dev] Re: Include $ as a searchable character

2009-02-22 Thread Karthik Murugan
No, they show status updates from unrelated profiles too. I guess, they are
indexing updates containing stock names and filtering out posts that don't
have a dollar sign before the stock name

On Sun, Feb 22, 2009 at 12:40 PM, Chad Etzel jazzyc...@gmail.com wrote:


 My SWAG is that they are just parsing their follower/friend stream
 themselves and highlighting tokens beginning with $.

 -Chad

 On Sat, Feb 21, 2009 at 12:40 PM, Karthik fermis...@gmail.com wrote:
 
  I'm looking for a similar feature too. I wonder how
 http://stocktwits.com/streams/all
  could show statuses containing $
 
  On Feb 21, 10:35 pm, Chad Etzel jazzyc...@gmail.com wrote:
  Yes, that's correct.  Add $ as a token modifier, if you will.
  -Chad
 
  On Sat, Feb 21, 2009 at 10:43 AM, Nick Arnett nick.arn...@gmail.com
 wrote:
 
   On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel jazzyc...@gmail.com
 wrote:
 
   Sorry I must have been unclear.
 
   I don't want the $ by itself, I want it to be a searchable character
   in conjunction with other strings, so I want to search for $AAPL or
   $C much like # is with hashtags.
 
   FYI, in search engine language this means is that you want words to be
   tokenized with and without the $ (or other) similar characters.
   Right now, it sounds like $AAPL is tokenized as AAPL.  If I
 understand
   correctly, you'd want the search engine to also add the token $AAPL.
   NIck