[twitter-dev] Re: What tools do you use?

2010-03-08 Thread Karthik
Arc90 - PHP Library for REST and Search API -
http://lab.arc90.com/2008/06/03/php-twitter-api-client/
PhireHose - PHP library for Streaming API - http://code.google.com/p/phirehose
CodeIgniter as PHP framework and
Netbeans PHP IDE



[twitter-dev] Re: Upcoming changes to the way status IDs are sequenced

2010-03-27 Thread Karthik
My applications will have an impact in the SQL queries. Right now, to
display tweets in reverse chronological order and with pagination, my
query has something like this:

SELECT * FROM
tweets
INNER JOIN mytable on tweets.id = mytable.tweet_id
GROUP BY tweets.id
ORDER BY tweets.id DESC
LIMIT 100, 20

Having the group and order clause on the same field (tweets.id)
improves the performance. But after this change, I'm forced to use the
timestamp in the ORDER clause.

To unsubscribe from this group, send email to 
twitter-development-talk+unsubscribegooglegroups.com or reply to this email 
with the words "REMOVE ME" as the subject.


[twitter-dev] Re: Logical AND supported in streaming API filter endpoint

2010-04-23 Thread Karthik
Great!! Many thanks to the Streaming API Team. You've done this, just
when I needed it.


-- 
Subscription settings: 
http://groups.google.com/group/twitter-development-talk/subscribe?hl=en


[twitter-dev] Re: parsing out entities from tweets (a.k.a. parsing out hashtags is hard!)

2010-05-14 Thread Karthik
Raffi,

A bit advanced request. Would it be possible to attach list of
significant words and phrases present in the tweet. We could then use
this info to categorize tweets and even build a trends list on the
tweets aggregated by our apps.

In one of our apps, we use Yahoo Terms Extraction service to extract
phrases from tweets.

Thanks,
Karthik



[twitter-dev] Using stored OAuth tokens in Anywhere

2010-06-13 Thread Karthik
Let's assume, we already have tokens of users, who logged into site
via normal OAuth process. Now, if we integrate Anywhere in our site
frontend, users are required to do a separate OAuth login for
following people via Anywhere hover cards. Is there a way to suppress
the second OAuth login, as we already have their tokens with us?


[twitter-dev] Re: Using stored OAuth tokens in Anywhere

2010-06-14 Thread Karthik
Just did. Thanks

http://code.google.com/p/twitter-api/issues/detail?id=1694


[twitter-dev] Problem with Social Graph API

2009-04-19 Thread Karthik

Hi,

My profile is crictwits. When I invoke the "friends/ids" social graph
API for my profile, I'm getting wrong results. The total count seems
to be right, but the list isn't. For example, I'm following user
shinils (id is 775881), but this user's id is not present in the list
returned by http://twitter.com/friends/ids.xml?id=crictwits

You can verify that I'm following this user by this call:
http://twitter.com/friendships/exists.xml?user_a=crictwits&user_b=shinils

Many other friends are also missing in the list returned by the social
graph API. Any clues?

Regards,
Karthik


[twitter-dev] Clarification on location in search API

2009-07-26 Thread Karthik

As per the documentation, when we limit the search results to a
location by using the "geocode" parameter, the location is taken from
user's profile. But, is it true that if someone tweets from GPS
enabled applications, then the geo-coordinates of the tweet take
precedent over the user’s profile location, as far as the search by
location feature is concerned?



[twitter-dev] Re: Delay on tweets from the API

2009-10-25 Thread Karthik

Which API method do you use?


[twitter-dev] Re: strange search api behavior

2009-11-22 Thread Karthik
I have this problem as well. I use "since_id" and I query for newer
results every minute. For past 10 days, I'm seeing my app was not
indexing many tweets. I compared the results with search.twitter.com
and I can clearly see that I'm missing out a lot of tweets, if I keep
including the since_id parameter. I guess, there are some issues in
the search system.

On Nov 19, 3:30 am, Tadeu Andrade  wrote:
> hi folks,
> since last week, I noticed thatsearchis behaving a little strange.
> For example, if I do a query on a keyword using since_id, sometimes I
> get no results. If I remove since_id parameters, the query succeed and
> if I repeat the initial query (with since_id), then I get results.
> Same thing occurs if I query from the web page and later from API (via
> json).
> Anyone else has noticed this weird behavior?
>
> cheers
>
> Tadeu


[twitter-dev] Re: Using twitter @nywhere with rest api

2010-08-10 Thread Karthik
This is tracked on http://code.google.com/p/twitter-api/issues/detail?id=1694#c0

On Aug 2, 10:31 pm, worshamweb  wrote:
> This is probably an easy one, but I haven't been able to figure it
> out, and I can't find anything on the web that points me in the right
> direction.  Is there a way to use �...@nywhere and the rest api of
> without forcing the user to log in twice?  I like the features of
> @nywhere, but also need ability to send tweets on the users behalf.


[twitter-dev] Re: OAuth and a readonly app

2010-08-10 Thread Karthik
Yes. But, you don't need a separate Twitter account. Just create an
OAuth app in one of your existing twitter accounts, note down the
OAuth tokens, get your own account's access tokens from "My Access
Token" link. You can use these tokens to enjoy the 350 per hour limit.

On Aug 10, 7:39 am, "russ.au"  wrote:
> Hi all,
>
> Let's say I'm writing a read only app - you come to my website enter
> someones twitter name, and I give you some statistics about them.  I
> can get all the stats I need by making anon calls to the REST api from
> my webserver.
>
> The API docs say "Anonymous calls are based on the IP of the host and
> are permitted 150 requests per hour", where as "OAuth calls are
> permitted 350 requests per hour".
>
> If my app gets popular enough I'd like to make as many calls as I
> can.  What is the protocol here?  Should I create a twitter account
> just for my app, take this account through the OAuth process, and use
> this account's "access token" for all my requests?
>
> Thanks,
> Russ


[twitter-dev] Error 401 only in Target (working fine in simulator)

2010-09-01 Thread Karthik
Hi ,

I am developing a Twitter application in MTK (Media tek ) platform.

I am using Oauth and and My application has the X-auth permission

I am first  using POST with required params and the am using below URL

https://api.twitter.com/oauth/access_token
   to get the access token in exchange with the username,
password.

I am able to get the access token and My application is working fine
in the simulator (I ma using the proxy server in simulator)

But in the Mobile (I amm not using proxy) , when I post
https://api.twitter.com/oauth/access_token
I am always getting 401 - Unauthorized (Failed to validate oauth
signature and token)

The below is my sample input string to get the signature (hmac-sha1)

POST&http%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_token&oauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce
%3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
%26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs
%2540google.com


Please someone help me to resolve this issue..





-- 
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?hl=en


[twitter-dev] Re: xAuth not Working (Help)

2010-09-01 Thread Karthik
Dear Taylor,
 I am developing an twitter app in MTK (Mediatek platform and my app
has the x-auth privilages)
My Issue:
 I am getting  errocode 401 (Failed to validate oauth signature and
token), only in the mobile (MTK - media tek - where I am not using
proxy).
 I ma getting the x-auth access token and all other api's are working
fine in the simualtor (where I am using proxy)

So when I look in to the TCP packets :
In simulator:
POST https:api.twitter.com/oauth/access_token HTTP/1.1 (Absolute URL)
Host: api.twitter.com
authorization: OAuth oauth_consumer_key="abcdefghijklm",
oauth_nonce="1262304257", oauth_signature_method="HMAC-SHA1",
oauth_timestamp="1262304256", oauth_version="1.0",
oauth_signature="4vvYMzqy1BBixGRh4bpeA5xa%2BPo%3D"

but in target I ma getting as :
POST /oauth/access_token HTTP/1.1  (Relative URL)

Other than this , no other changes I have found between simulator and
target.

My Signature simple string :

POST&https%3A%2F%2Fapi.twitter.com%2Foauth
%2Faccess_token&oauth_consumer_key%abcdefghijklm%26oauth_nonce
%3D1262304257%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
%3D1262304256%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
%26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs
%2540google.com

I am using the platform provided sha1-hmac algorithm which is same in
target and simulator.

Please help me find out the issue which is only occuring in my target.

Regards,
Karthik


-- 
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?hl=en


[twitter-dev] Re: xAuth not Working (Help)

2010-09-01 Thread Karthik
Dear Tom,

 its is in sorted order only. And moreover the same order working fine
in Simualtor

On Sep 1, 9:37 pm, Tom van der Woerdt  wrote:
> You should sort the fields in the Base String.
>
> Tom
>
> On 9/1/10 6:35 PM, Karthik wrote:
>
> > Dear Taylor,
> >  I am developing an twitter app in MTK (Mediatek platform and my app
> > has the x-auth privilages)
> > My Issue:
> >  I am getting  errocode 401 (Failed to validate oauth signature and
> > token), only in the mobile (MTK - media tek - where I am not using
> > proxy).
> >  I ma getting the x-auth access token and all other api's are working
> > fine in the simualtor (where I am using proxy)
>
> > So when I look in to the TCP packets :
> > In simulator:
> > POST https:api.twitter.com/oauth/access_token HTTP/1.1 (Absolute URL)
> > Host: api.twitter.com
> > authorization: OAuth oauth_consumer_key="abcdefghijklm",
> > oauth_nonce="1262304257", oauth_signature_method="HMAC-SHA1",
> > oauth_timestamp="1262304256", oauth_version="1.0",
> > oauth_signature="4vvYMzqy1BBixGRh4bpeA5xa%2BPo%3D"
>
> > but in target I ma getting as :
> > POST /oauth/access_token HTTP/1.1  (Relative URL)
>
> > Other than this , no other changes I have found between simulator and
> > target.
>
> > My Signature simple string :
>
> > POST&https%3A%2F%2Fapi.twitter.com%2Foauth
> > %2Faccess_token&oauth_consumer_key%abcdefghijklm%26oauth_nonce
> > %3D1262304257%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> > %3D1262304256%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
> > %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs
> > %2540google.com
>
> > I am using the platform provided sha1-hmac algorithm which is same in
> > target and simulator.
>
> > Please help me find out the issue which is only occuring in my target.
>
> > Regards,
> > Karthik

-- 
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?hl=en


[twitter-dev] Re: Error 401 only in Target (working fine in simulator)

2010-09-01 Thread Karthik
Dear Taylor,

I still done get how to sync my mobile clock to the twitter server
clock.
Can you explain little more..?

On Sep 1, 9:34 pm, Taylor Singletary 
wrote:
> Hi Karthik,
>
> Make sure that the time on your device is in sync with Twitter's clocks.
>
> We return our current time in the "Date" HTTP header of every
> response. One easy way to fixate an application's clock with our servers is
> to issue a HTTP HEAD request tohttp://api.twitter.com/1/help/test.xml--
> it's a non-rate-limited request and will allow you to adjust your clock in
> relation to ours.
>
> The oauth_timestamp in your example here is for Dec 31st, 2009.
>
> Taylor
>
> On Wed, Sep 1, 2010 at 9:10 AM, Karthik  wrote:
> > Hi ,
>
> > I am developing a Twitter application in MTK (Media tek ) platform.
>
> > I am using Oauth and and My application has the X-auth permission
>
> > I am first  using POST with required params and the am using below URL
>
> >https://api.twitter.com/oauth/access_token
> >           to get the access token in exchange with the username,
> > password.
>
> > I am able to get the access token and My application is working fine
> > in the simulator (I ma using the proxy server in simulator)
>
> > But in the Mobile (I amm not using proxy) , when I post
> >https://api.twitter.com/oauth/access_token
> > I am always getting 401 - Unauthorized (Failed to validate oauth
> > signature and token)
>
> > The below is my sample input string to get the signature (hmac-sha1)
>
> > POST&http%3A%2F%2Fapi.twitter.com%2Foauth
> > %2Faccess_token&oauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce
> > %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> > %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
> > %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs
> > %2540google.com
>
> > Please someone help me to resolve this issue..
>
> > --
> > 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?hl=en

-- 
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?hl=en


[twitter-dev] Re: Error 401 only in Target (working fine in simulator)

2010-09-01 Thread Karthik
You mean I just issue a http request http://api.twitter.com/1/help/test.xml
to the server before I start my login..?

On Sep 1, 9:34 pm, Taylor Singletary 
wrote:
> Hi Karthik,
>
> Make sure that the time on your device is in sync with Twitter's clocks.
>
> We return our current time in the "Date" HTTP header of every
> response. One easy way to fixate an application's clock with our servers is
> to issue a HTTP HEAD request tohttp://api.twitter.com/1/help/test.xml--
> it's a non-rate-limited request and will allow you to adjust your clock in
> relation to ours.
>
> The oauth_timestamp in your example here is for Dec 31st, 2009.
>
> Taylor
>
> On Wed, Sep 1, 2010 at 9:10 AM, Karthik  wrote:
> > Hi ,
>
> > I am developing a Twitter application in MTK (Media tek ) platform.
>
> > I am using Oauth and and My application has the X-auth permission
>
> > I am first  using POST with required params and the am using below URL
>
> >https://api.twitter.com/oauth/access_token
> >           to get the access token in exchange with the username,
> > password.
>
> > I am able to get the access token and My application is working fine
> > in the simulator (I ma using the proxy server in simulator)
>
> > But in the Mobile (I amm not using proxy) , when I post
> >https://api.twitter.com/oauth/access_token
> > I am always getting 401 - Unauthorized (Failed to validate oauth
> > signature and token)
>
> > The below is my sample input string to get the signature (hmac-sha1)
>
> > POST&http%3A%2F%2Fapi.twitter.com%2Foauth
> > %2Faccess_token&oauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce
> > %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> > %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
> > %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs
> > %2540google.com
>
> > Please someone help me to resolve this issue..
>
> > --
> > 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?hl=en

-- 
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?hl=en


[twitter-dev] Re: Error 401 only in Target (working fine in simulator)

2010-09-02 Thread Karthik
Thanks you all ...Actually the problem with the API which I am
using to get the target mobile time.
The API always returns local time  when I change it to GMT The
things are fine in target.

Thanks once again for this timely help on Time...

On Sep 2, 4:45 am, "Andrew W. Donoho"  wrote:
> On Sep 1, 2010, at 15:55 , M. Edward (Ed) Borasky wrote:
>
> > That's a surprise - I'd expect Apple to be on top of stuff like that! Even 
> > so, 18 seconds is well within Twitter's outrageously generous tolerance of 
> > five minutes.
>
> There are different sync. points for different devices. For example, iPhones 
> sync with AT&T. iPads sync with Apple. There appears to be a ≈30 second 
> difference between them. While being far from a time sync expert, I suspect 
> leap seconds are the issue.
>
> Anon,
> Andrew
> 
> Andrew W. Donoho
> Donoho Design Group, L.L.C.
> a...@ddg.com, +1 (512) 750-7596
>
> "We did not come to fear the future.
>     We came here to shape it."
>
> -- President Barack Obama, Sept. 2009

-- 
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?hl=en


[twitter-dev] Radomly , 401 in my twitter api request when i use x-auth

2010-09-02 Thread Karthik
Dear all,


 I am getting radomly 401 (invalid signature ) error from server .

I ma using the nonce as timestamp+random() ; (ramdom number)

What could be the reason..

-- 
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?hl=en


[twitter-dev] Radomly , 401 in my twitter api request when i use x-auth

2010-09-02 Thread Karthik
Dear all,


 I am getting radomly 401 (invalid signature ) error from server .

I ma using the nonce as timestamp+random() ; (ramdom number)

What could be the reason..?

Most of the time my requests are served fine by the twitter server.
but then and there am getting 401 ...please help me out

-- 
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?hl=en


[twitter-dev] Re: Error 401 only in Target (working fine in simulator)

2010-09-02 Thread Karthik
Dear Taylor,

  I am getting one new issue.
In my application , randomly some api's returns 401 - invalid
signature error...
I am not sure whether twitter server only returns 401 randomly or some
problem in my request..?
Most of the time my requests are working fine...
Please help me out

Regards,
Karthik




On Sep 2, 2:07 am, Taylor Singletary 
wrote:
> Our generous time range is actually +- ~ 15 minutes -- I just tell everyone
> within 5 minutes to keep things proper and sane. :)
>
> Understand that our correction here is a bit sudden; we may make a
> compromise tweak that will restrict future timestamps, but now with a more
> relaxed resolution than 15 minutes -- with the intention to rectify this
> more gradually in the future.
>
> In the meantime, we strongly suggest clients perform a timestamp sanity
> check. I'll work on formalizing and abstracting the few options developers
> have to make this smooth.
>
> Some day we'll finally release our improved OAuth 1.0A implementation that
> will also be very specific with you about the drift detected in your
> timestamp.
>
> Thanks,
> Taylor
>
> On Wed, Sep 1, 2010 at 1:55 PM, M. Edward (Ed) Borasky <
>
> zn...@borasky-research.net> wrote:
> > That's a surprise - I'd expect Apple to be on top of stuff like that! Even
> > so, 18 seconds is well within Twitter's outrageously generous tolerance of
> > five minutes.
>
> > Then again, I used to work at Goddard Space Flight Center - I was spoiled
> > by having clocks accurate to a microsecond available as wall plugs. ;-)
>
> > --
> > M. Edward (Ed) Borasky
> >http://borasky-research.nethttp://twitter.com/znmeb
>
> > "A mathematician is a device for turning coffee into theorems." - Paul
> > Erdos
>
> > Quoting Tom van der Woerdt :
>
> >  Not iOS (iPhone, iPod Touch, etc) - my iPod Touch seems to be 18 seconds
> >> out of sync.
>
> >> Tom
>
> >> On 9/1/10 10:39 PM, M. Edward (Ed) Borasky wrote:
>
> >>> I'd think mobiles - at least the common ones (iPhone, Android, Symbian,
> >>> Blackberry, Palm, etc.) would be synchronized to "world time"
> >>> automatically. At least my old LG ENV and current Verizon Droid
> >>> Incredible tell me what time it is. ;-)
>
> >> --
> >> 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?hl=en
>
> > --
> > 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?hl=en

-- 
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?hl=en


[twitter-dev] Re: Error 401 only in Target (working fine in simulator)

2010-09-02 Thread Karthik
Dear Taylor,

  I am getting one new issue.
In my application , randomly some api's returns 401 - invalid
signature error...
I am not sure whether twitter server only returns 401 randomly or some
problem in my request..?
Most of the time my requests are working fine...
Please help me out

Regards,

On Sep 1, 9:34 pm, Taylor Singletary 
wrote:
> Hi Karthik,
>
> Make sure that the time on your device is in sync with Twitter's clocks.
>
> We return our current time in the "Date" HTTP header of every
> response. One easy way to fixate an application's clock with our servers is
> to issue a HTTP HEAD request tohttp://api.twitter.com/1/help/test.xml--
> it's a non-rate-limited request and will allow you to adjust your clock in
> relation to ours.
>
> The oauth_timestamp in your example here is for Dec 31st, 2009.
>
> Taylor
>
> On Wed, Sep 1, 2010 at 9:10 AM, Karthik  wrote:
> > Hi ,
>
> > I am developing a Twitter application in MTK (Media tek ) platform.
>
> > I am using Oauth and and My application has the X-auth permission
>
> > I am first  using POST with required params and the am using below URL
>
> >https://api.twitter.com/oauth/access_token
> >           to get the access token in exchange with the username,
> > password.
>
> > I am able to get the access token and My application is working fine
> > in the simulator (I ma using the proxy server in simulator)
>
> > But in the Mobile (I amm not using proxy) , when I post
> >https://api.twitter.com/oauth/access_token
> > I am always getting 401 - Unauthorized (Failed to validate oauth
> > signature and token)
>
> > The below is my sample input string to get the signature (hmac-sha1)
>
> > POST&http%3A%2F%2Fapi.twitter.com%2Foauth
> > %2Faccess_token&oauth_consumer_key%3D4dsadsadsasdsd%26oauth_nonce
> > %3D1262304301%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp
> > %3D1262304300%26oauth_version%3D1.0%26x_auth_mode%3Dclient_auth
> > %26x_auth_password%3Dtest1234%26x_auth_username%3Dnareshs
> > %2540google.com
>
> > Please someone help me to resolve this issue..
>
> > --
> > 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?hl=en

-- 
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?hl=en


[twitter-dev] Home timeline without authentication

2010-09-03 Thread Karthik
Is it feasible to construct home timeline of any user without using
the API statuses/home_timeline, which requires user's authentication?

We could iterate through user's friends graph, gather each friend's
statuses and sort them by time. But it's an overkill for an user with
more following. Any other options?

-- 
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?hl=en


[twitter-dev] Re: Home timeline without authentication

2010-09-03 Thread Karthik
> - Create a fake user that has follows the same accounts,

No, I'd like to construct home timeline of any random user.

How about this approach?

Find friend ids of the user
Listen to Streaming API's filter method following user's friends,
specify a negative count to receive historic stream (retweets
included)
Process & display the tweets

On Sep 4, 1:03 am, Bernd Stramm  wrote:
> On Fri, 3 Sep 2010 12:12:19 -0700 (PDT)
>
> Karthik  wrote:
> > Is it feasible to construct home timeline of any user without using
> > the API statuses/home_timeline, which requires user's authentication?
>
> > We could iterate through user's friends graph, gather each friend's
> > statuses and sort them by time. But it's an overkill for an user with
> > more following. Any other options?
>
> - Create a fake user that has follows the same accounts,
>
> Or,
>
> - Pay Twitter for the data, I'm sure they will be happy to accommodate
>   you ;)
>
>
>
> --
> Bernd Stramm
> bernd.str...@gmail.com

-- 
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?hl=en


[twitter-dev] Re: Home timeline without authentication

2010-09-04 Thread Karthik
Ok. I didn't know this 10 minutes limitation. Thanks for confirming.
Will tell my client, this is not feasible.

On Sep 4, 6:42 pm, John Kalucki  wrote:
> This won't contain protected accounts, and would only contain tweets from
> the last ten minutes or so.
>
> -John Kaluckihttp://twitter.com/jkalucki
> Twitter, Inc.
>
>
>
>
>
>
>
> On Fri, Sep 3, 2010 at 10:12 PM, Karthik  wrote:
> > > - Create a fake user that has follows the same accounts,
>
> > No, I'd like to construct home timeline of any random user.
>
> > How about this approach?
>
> > Find friend ids of the user
> > Listen to Streaming API's filter method following user's friends,
> > specify a negative count to receive historic stream (retweets
> > included)
> > Process & display the tweets
>
> > On Sep 4, 1:03 am, Bernd Stramm  wrote:
> > > On Fri, 3 Sep 2010 12:12:19 -0700 (PDT)
>
> > > Karthik  wrote:
> > > > Is it feasible to construct home timeline of any user without using
> > > > the API statuses/home_timeline, which requires user's authentication?
>
> > > > We could iterate through user's friends graph, gather each friend's
> > > > statuses and sort them by time. But it's an overkill for an user with
> > > > more following. Any other options?
>
> > > - Create a fake user that has follows the same accounts,
>
> > > Or,
>
> > > - Pay Twitter for the data, I'm sure they will be happy to accommodate
> > >   you ;)
>
> > > --
> > > Bernd Stramm
> > > bernd.str...@gmail.com
>
> > --
> > 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?hl=en

-- 
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?hl=en


[twitter-dev] Re: List of all users who tweeted in the last 30 seconds

2010-09-10 Thread Karthik
Search API can return only 1500 recent tweets. Real pain is you have
to poll the API 15 times (rpp=100)

Look into the Streaming API. There are lower access levels which can
give you certain proportion of tweets.
http://dev.twitter.com/pages/streaming_api_methods#statuses-sample

But for getting all tweets, you will require Firehose access level.

Remember, you will have keep listening to the Streaming server for 30
seconds, inorder to receive tweets posted during that period.

On Sep 9, 10:18 pm, Jim Goodling  wrote:
> I'm trying to get a list of all the users who tweeted in the last 30
> seconds. Currently I'm using the seach api with since=  and
> result_type=recent subsetting on result on my server and then calling
> the users api. Is there any way I can specify a datetime on the
> since=?  Is there a better way to get a list of all the users who
> tweeted in the last 30 seconds?

-- 
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?hl=en


[twitter-dev] New twitter.com uses an OAuth app called "web"?

2010-09-21 Thread Karthik
Just read from this blog post (http://engineering.twitter.com/2010/09/
tech-behind-new-twittercom.html), that new Twitter.com is a client to
Twitter API.

I can't help but wonder if,

1) Twitter.com uses an OAuth app called "web"?

2) Does the site generate OAuth access tokens for every user from
their raw credentials?

I assume you guys don't have exclusive access to basic auth :)

-- 
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?hl=en


[twitter-dev] Previous Cursor issue in follower/Following list

2010-10-13 Thread Karthik
Hi all,

I am trying to achieve paging in my following and followers list.
My page consist of 20 user each.
I am totally having around 400 Following.
So In my application , I want to achieve 20 pages of following list.I
want to navigate Next and Previous pages.

So I am using the below Twitter API:
http://api.twitter.com/statuses/friends.json?cursor=-1&count=20

In the Next page , I would be using the Next cursor value of the above
Req response.

With this API , I am able to navigate to all the next pages using next
cursor values given.
But when I navigate to previous pages , I try to use previous cursor
values which always given Blank pages.
I mean whenever I use prev cursor values , the response always
blank(no users present).


Please help me out to resolve this issue.

-- 
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


Re: Putting a ceiling on requests from users and IPs on the whitelist

2009-01-29 Thread Karthik

Alex,

Any updates on these new API's?

We are eagerly awaiting for its release.

Thanks,
Karthik

On Jan 23, 3:46 am, Alex Payne  wrote:
> I'm already working on this. It'll be new methods, I think. Should be
> ready to deploy by early next week.
>
> On Thu, Jan 22, 2009 at 10:15, Scott C. Lemon  wrote:
>
>
>
>
>
> > Alex,
>
> > Thank you for the quick reply ... and I agree ... it seems that
> > returning the list of followers or friends as an array of IDs would be
> > most effective.  This is somewhat how Facebook does it with their
> > API.  That would allow us to gain access to the information in a much
> > more compact way.
>
> > Obviously this would also make the amount of data being returned much
> > less, as it wouldn't have to include the status of those people or
> > anything else ... we can get that in subsequent requests, or by
> > monitoring and caching the feed.
>
> > So maybe there could be two new APIs?
>
> >http://twitter.com/statuses/friendIDs.format
> >http://twitter.com/statuses/followerIDs.format
>
> > What do you propose as next steps for this?  Do I/we have to enter a
> > bug/issue to make the request?  Or are you already working on a
> > solution for this?  We would be very interested in seeing this new API
> > so that we can fine tune our operation and minimize the number of
> > requests we'll be making ...
>
> > Scott
>
> > On Jan 21, 11:49 pm, Alex Payne  wrote:
> >> > Can you please address the issue of how you would recommend that an
> >> > application be able to fetch the total list of a users followers?  I'm
> >> > hearing all sorts of accusations and bluster, but want to understand
> >> > from your perspective how you would propose an application do this?
>
> >> Right now, you can page through the lists of friends and followers.
> >> We'll see about ways to get the friends list in one shot. I think our
> >> best bet for a method that returns the entire set of friends or
> >> followers would be simply returning an array of user IDs.
>
> >> > Even here on the list there are people suggesting that you enhance the
> >> > API to simply drop the current status ... and only return the list of
> >> > followers ... which would seem to be a much simpler, and less
> >> > intensive, query.
>
> >> We'll certainly consider that.
>
> >> > As a side note, we are currently working on three twitter
> >> > applications ... two that are hosted services, and one that is a
> >> > desktop application.  I want to ensure that we continue to build these
> >> > fully understanding how to work cooperatively with you!
>
> >> All you need to do is send us an email, and we'll find solutions. It
> >> may take some time if the solution you need isn't on our development
> >> roadmap, but we're here to make it happen.
>
> >> --
> >> Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
>
> --
> Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


Re: Putting a ceiling on requests from users and IPs on the whitelist

2009-01-29 Thread Karthik

Alex,

Any updates on these new API's?
We are eagerly waiting for them.

Thanks,
Karthik

On Jan 23, 3:46 am, Alex Payne  wrote:
> I'm already working on this. It'll be new methods, I think. Should be
> ready to deploy by early next week.
>
> On Thu, Jan 22, 2009 at 10:15, Scott C. Lemon  wrote:
>
>
>
>
>
> > Alex,
>
> > Thank you for the quick reply ... and I agree ... it seems that
> > returning the list of followers or friends as an array of IDs would be
> > most effective.  This is somewhat how Facebook does it with their
> > API.  That would allow us to gain access to the information in a much
> > more compact way.
>
> > Obviously this would also make the amount of data being returned much
> > less, as it wouldn't have to include the status of those people or
> > anything else ... we can get that in subsequent requests, or by
> > monitoring and caching the feed.
>
> > So maybe there could be two new APIs?
>
> >http://twitter.com/statuses/friendIDs.format
> >http://twitter.com/statuses/followerIDs.format
>
> > What do you propose as next steps for this?  Do I/we have to enter a
> > bug/issue to make the request?  Or are you already working on a
> > solution for this?  We would be very interested in seeing this new API
> > so that we can fine tune our operation and minimize the number of
> > requests we'll be making ...
>
> > Scott
>
> > On Jan 21, 11:49 pm, Alex Payne  wrote:
> >> > Can you please address the issue of how you would recommend that an
> >> > application be able to fetch the total list of a users followers?  I'm
> >> > hearing all sorts of accusations and bluster, but want to understand
> >> > from your perspective how you would propose an application do this?
>
> >> Right now, you can page through the lists of friends and followers.
> >> We'll see about ways to get the friends list in one shot. I think our
> >> best bet for a method that returns the entire set of friends or
> >> followers would be simply returning an array of user IDs.
>
> >> > Even here on the list there are people suggesting that you enhance the
> >> > API to simply drop the current status ... and only return the list of
> >> > followers ... which would seem to be a much simpler, and less
> >> > intensive, query.
>
> >> We'll certainly consider that.
>
> >> > As a side note, we are currently working on three twitter
> >> > applications ... two that are hosted services, and one that is a
> >> > desktop application.  I want to ensure that we continue to build these
> >> > fully understanding how to work cooperatively with you!
>
> >> All you need to do is send us an email, and we'll find solutions. It
> >> may take some time if the solution you need isn't on our development
> >> roadmap, but we're here to make it happen.
>
> >> --
> >> Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x
>
> --
> Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


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

2009-02-21 Thread Karthik

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  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  wrote:
>
> > On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel  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


[twitter-dev] Re: Unix Timestamp with Twitter and Search API responses.

2009-02-22 Thread Karthik

Just in case, you need to parse the created_at date string, use this
(PHP)

//converts Sat, 21 Feb 2009 19:11:42 + to a timestamp
function from_apachedate($date)
{
list($D, $d, $M, $y, $h, $m, $s, $z) = sscanf($date, "%3s, %2d %3s
%4d %2d:%2d:%2d %5s");
return strtotime("$d $M $y $h:$m:$s $z");
}


On Feb 22, 7:03 am, Chad Etzel  wrote:
> Seeing no response to this thread I have created Issue 306 here:
>
> http://code.google.com/p/twitter-api/issues/detail?id=306
>
> Please star it if you would likeunixepoch timestamps included with
> each update/tweet in API results.
>
> -Chad
>
> On Tue, Feb 17, 2009 at 4:01 PM, Chad Etzel  wrote:
> > Hi All,
>
> > Wanted to make sure this wasn't a covered issue before I submitted a ticket.
>
> > It would be handy to have aunix-styletimestampof an update/tweet
> > passed back with the results along with the "created_at" field.
> > "created_at" is a useful string representation of thetimestamp, but
> > not all languages have strong date parsers, whereas (pretty much) all
> > languages can understand aunixtimestampand do further manipulation
> > from there.
>
> > Has the been discussed before?
> > Thanks,
> > -Chad


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

2009-02-23 Thread Karthik

Can you accept the request for the colon character too? I may use the
prefix $IN for Indian stocks and would like to retrieve only the
updates containing the term $IN:REL for example? Does that make sense?


On Feb 23, 3:39 am, Matt Sanford  wrote:
> Hi all,
>
>      Requests for this have come up before so I opened a ticket for  
> the person working on our tokenizer to add this. I'm not sure when  
> he'll get to it but it's on the road map now. One bit of forewarning:  
> if you try to query for every ticker symbol every five minutes you're  
> building something unscalable and you can expect to hit the rate  
> limit. Not that I'm sure this is what people have in mind but I  
> thought I'd put this out there ahead of time just in case.
>
> — Matt
>
> On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote:
>
> > 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   
> > 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  wrote:
>
> > > I'm looking for a similar feature too. I wonder 
> > > howhttp://stocktwits.com/streams/all
> > > could show statuses containing $
>
> > > On Feb 21, 10:35 pm, Chad Etzel  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  
> >  wrote:
>
> > >> > On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel  
> >  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


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

2009-02-23 Thread Karthik

Thanks a lot :)

On Feb 23, 7:52 pm, Matt Sanford  wrote:
> Hi there,
>
>      I added this info to the ticket.
>
> Thanks;
>    — Matt
>
> On Feb 23, 2009, at 06:21 AM, Karthik wrote:
>
>
>
> > Can you accept the request for the colon character too? I may use the
> > prefix $IN for Indian stocks and would like to retrieve only the
> > updates containing the term $IN:REL for example? Does that make sense?
>
> > On Feb 23, 3:39 am, Matt Sanford  wrote:
> >> Hi all,
>
> >>      Requests for this have come up before so I opened a ticket for
> >> the person working on our tokenizer to add this. I'm not sure when
> >> he'll get to it but it's on the road map now. One bit of forewarning:
> >> if you try to query for every ticker symbol every five minutes you're
> >> building something unscalable and you can expect to hit the rate
> >> limit. Not that I'm sure this is what people have in mind but I
> >> thought I'd put this out there ahead of time just in case.
>
> >> — Matt
>
> >> On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote:
>
> >>> 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 
> >>> 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   
> >>> wrote:
>
> >>>> I'm looking for a similar feature too. I wonder 
> >>>> howhttp://stocktwits.com/streams/all
> >>>> could show statuses containing $
>
> >>>> On Feb 21, 10:35 pm, Chad Etzel  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
> >>>  wrote:
>
> >>>>>> On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel
> >>>  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


[twitter-dev] Re: Freelance Twitter API Dev directory?

2009-02-24 Thread Karthik

Me too,

twitter: twitter.com/yemkay
elance profile: yemkay.elance.com
email: fermis...@gmail.com

Thanks Alex.

On Feb 23, 11:33 pm, Alex Payne  wrote:
> There isn't one that I'm aware of, but if people would like to post
> their contact info in this thread (Twitter username, URL, email,
> whatever) I'm happy to collect them on the API Wiki.
>
> On Sat, Feb 21, 2009 at 18:00, Chad Etzel  wrote:
>
> > Hi All,
>
> > I have been getting a few requests here and there for twitter API
> > development work.  I cannot take on any such projects at the moment,
> > but I always feel bad for leaving them in the lurch.  Is there a list
> > or directory anywhere of Twitter API developers that work freelance
> > that I can send to them when this happens?  I'm happy to forward on
> > such requests.
>
> > -Chad
>
> --
> Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


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

2009-02-24 Thread Karthik

Hi Matt,

We are building an App which heavily depends on this new feature. Can
you please let me know a tentative date for its release?

Thank you.

- Karthik

On Feb 23, 7:52 pm, Matt Sanford  wrote:
> Hi there,
>
>      I added this info to the ticket.
>
> Thanks;
>    — Matt
>
> On Feb 23, 2009, at 06:21 AM, Karthik wrote:
>
>
>
> > Can you accept the request for the colon character too? I may use the
> > prefix $IN for Indian stocks and would like to retrieve only the
> > updates containing the term $IN:REL for example? Does that make sense?
>
> > On Feb 23, 3:39 am, Matt Sanford  wrote:
> >> Hi all,
>
> >>      Requests for this have come up before so I opened a ticket for
> >> the person working on our tokenizer to add this. I'm not sure when
> >> he'll get to it but it's on the road map now. One bit of forewarning:
> >> if you try to query for every ticker symbol every five minutes you're
> >> building something unscalable and you can expect to hit the rate
> >> limit. Not that I'm sure this is what people have in mind but I
> >> thought I'd put this out there ahead of time just in case.
>
> >> — Matt
>
> >> On Feb 22, 2009, at 02:17 AM, Karthik Murugan wrote:
>
> >>> 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 
> >>> 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   
> >>> wrote:
>
> >>>> I'm looking for a similar feature too. I wonder 
> >>>> howhttp://stocktwits.com/streams/all
> >>>> could show statuses containing $
>
> >>>> On Feb 21, 10:35 pm, Chad Etzel  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
> >>>  wrote:
>
> >>>>>> On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel
> >>>  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


[twitter-dev] Using max_id to navigate to pages after 15

2009-02-24 Thread Karthik

Please confirm, if the following is allowed?

1. Set rpp=100 and retrieve 15 pages search results by incrementing
the param 'page'
2. Get the id of the last status on page 15 and set that as the max_id
for the next query
3. If we have more results, go to step 1


[twitter-dev] Re: Does this exist?

2009-02-27 Thread Karthik

I suggest http://www.whofollowswhom.com to find common friends and
followers of upto 5 twitter users

On Feb 27, 4:43 am, TjL  wrote:
> My favorite part of TwitReports is the "Follower Crossover" information:
>
> Assume a user "Joe" and a user "Ed".
>
> Ed follows Joe.
>
> Joe might want to know
>
> 1) Does anyone I follow also Ed?
>
> 2) Who else does Ed follow that I also follow?
>
> 3) Who is following both of us?
>
> is there a web site out there which shows this information already if
> I put in two Twitter names?
>
> Don't want to reinvent the wheel :-)
>
> TjL


[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=billcrosby&page=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  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=100&page=43"; | grep
> "" | wc -l
> 100
> doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
> "http://twitter.com/statuses/followers.xml?count=100&page=44"; | grep
> "" | wc -l
> 17
> doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD 
> "http://twitter.com/statuses/followers.xml?count=100&page=45"; | grep
> "" | wc -l
> 0
>
> Thanks,
> Doug
>
> --
> Do you follow me?http://twitter.com/dougw
>
> On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands 
> wrote:
>
>
>
>
>
> > 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  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: Matt Sanford, signing off.

2009-07-17 Thread Karthik Murugan

Good Luck Matt!!

On Jul 18, 2:18 am, Matt Sanford  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-24 Thread Karthik Murugan
yes, each page request counts against the API limit

On Fri, Jul 24, 2009 at 10:25 PM, Joseph  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"  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  wrote:
> >
> > > It's also possible, that some intermediate pages return empty result
> > > set. Try this,
> http://twitter.com/statuses/followers.json?id=billcrosby&page=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  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=100&page=43"; | grep
> > > > "" | wc -l
> > > > 100
> > > > doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD "
> http://twitter.com/statuses/followers.xml?count=100&page=44"; | grep
> > > > "" | wc -l
> > > > 17
> > > > doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD "
> http://twitter.com/statuses/followers.xml?count=100&page=45"; | grep
> > > > "" | 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.com>wrote:
> >
> > > > > 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  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: Issues I came across migrating to cursors

2009-10-06 Thread Karthik Murugan

I think, you should implement some sort of pagination in your app to
deal with this issue. We had similar problems for the project
http://whofollowswhom.com and we settled with the approach #1 followed
by querying profile info for the each  profile. Though it is a
costlier approach, we had to do this because of the easiness in
pagination.

We still have a problem with big profiles and are in the process of
migrating to cursors for followers/ids.

On Oct 7, 10:59 am, jmathai  wrote:
> So a user comes to the site and I need to build their social graph.  I
> have two options.
>
> 1) Use followers/ids and get ids of all their followers 5,000 at a
> time
> 2) Use statuses/followers and get profiles of all followers 100 at a
> time
>
> Ids alone don't really do me much good.  So option 2 is more efficient
> for me (unless there's a batch user fetch api I'm unaware of).
>
> That being said, if a user has 10,000 followers (not uncommon) then I
> have to make 100 API calls to fetch profiles for all the followers.
> Not a big deal.  Except, Twitter gives me random errors.  Sometimes
> it's a 502 and other times a 400.  I'm not confident that I won't
> randomly receive a different 4xx or 5xx response.
>
> I tried to put code in place so that on 5xx responses that I would
> *continue* and retry the request.  That's when I got a 400 response.
> I have yet to fetch someone's entire graph using a sample account with
> 13,000 followers.
>
> Has anyone successfully migrated to cursors and consistently pulled
> down a large (>10k) graph?


[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  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] Twitter Streaming API rate limiting frequency-track

2010-08-25 Thread Karthik K
Hi,
Since there is no per keyword rate limiting in streaming api, adding one
keyword which gets lot of tweets can limit the data of low frequency
keywords.
What is the frequency at which data is limited at different access levels?Is
it constant or keeps changing? If this is known we can find the frequency of
a keyword before tracking using another stream or search api and  add it
only if the sum is not exceeding the maximum.
Please confirm whether this is a good strategy for such situation?

Thanks,
Karthik

-- 
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?hl=en


Re: [twitter-dev] Twitter Streaming API rate limiting frequency-track

2010-08-26 Thread Karthik K
Thanks John, but my application needs to add/remove keywords on a regular
basis,  and  i am planning an algorithm which does something like calculate
current frequency for main account which is  near approximation for the
current time (calculating based on last 10 mins,1 hr,1 day frequencies)  and
on adding a new keyword it increases. I cant find a way to determine when to
stop adding new keyword without knowing an upper limit.

-- 
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?hl=en


[twitter-dev] Re: Streaming api returning 401 error on phrase tracking(logical AND)

2010-08-31 Thread Karthik K
for example:

trackwords: {"starwars","obama"}
authorization with username,password: working
using oauth :working

trackwords: {"star wars","obama"}
authorization with user name,password: working
using oauth i get 401 error

Thanks,
Karthik

-- 
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?hl=en


[twitter-dev] Streaming api returning 401 error on phrase tracking(logical AND)

2010-08-31 Thread Karthik K
I am getting strange results when using streaming api with and without
Oauth. Without oauth i am able to track phrases whereas with oauth i get a
401 error, able to track normal words with oauth.Is there any restriction on
phrase tracking? Could not find any pointers in the docs.btw i use
twitter4j.

Thanks,
Karthik

-- 
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?hl=en


[twitter-dev] Per user retweet count

2010-09-24 Thread Karthik K
Hi,
Is there any way to get the Retweet count per user? i.e., number of tweets
of a particular user that are Retweeted? Search api with 'RT @username'
gives the retweets but again its a only a few days of data.

Thanks

-- 
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: 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  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  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  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 
> wrote:
> >>
> >> > On Fri, Feb 20, 2009 at 6:46 PM, Chad Etzel 
> 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
> >
>
> >
>


Re: [twitter-dev] Twitter + Gnip Partnership

2011-02-15 Thread Karthik K
can some one please tell me what happens to users who are at 'restricted
track' or 'partner track' levels for streaming API access?

-- 
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] 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