[twitter-dev] Exception::twitter4j.TwitterException: twitter.com

2010-05-12 Thread vikas nirwal
Hi All,

i am facing these all given below exceptions in java while i am
wanting to use API (latest Tweet) in my JAVA application which can be
found on link

http://www.packtpub.com/article/swinging-tweeting-build-custom-application-twitter-java
netbeans#comment-707..

Basically in my opinion there might be some connectivity issues.
i have done everthng right but these errors i am facing.
plz help thanks in advance.

twitter4j.TwitterException: twitter.com
at twitter4j.http.HttpClient.httpRequest(HttpClient.java:484)
at twitter4j.http.HttpClient.get(HttpClient.java:412)
at twitter4j.Twitter.get(Twitter.java:276)
at twitter4j.Twitter.get(Twitter.java:228)
at twitter4j.Twitter.verifyCredentials(Twitter.java:1971)


[twitter-dev] Wrong User ID for a reply

2010-03-22 Thread Vikas
Hi,

 I am trying to fetch the User ID to include in the Reply field and it
fetches the correct user ID if you are following the person and some
wrong User ID if you are just replying to a Tweet from the Search
topics. Has anyone seen this kind of behavior and what could possibly
be wrong here? I appreciate the help.

Thanks
Vikas

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: API Rate Limit

2009-12-17 Thread vikas
Thanks for the reply, things are much clearer now,
I assume that if a user on a white-listed IP has exhausted his 20k
quota, then he is still entitled with 150/hour limit which he can use
for authenticated requests on a non-whitelisted IP.

Vikas


On Dec 16, 9:26 pm, Abraham Williams <4bra...@gmail.com> wrote:
> I've filed a bug to get the documentation updated.
>
> It could be phrased better as 20k per user per whitelisted IP.
>
> If you have N users on a whitelisted IP you should have N * 20k
> authenticated request every hour.
>
> Abraham
>
>
>
> On Tue, Dec 15, 2009 at 23:52, vikas  wrote:
> > Hi,
> > The document says "Each whitelisted entity, whether an account or IP
> > address, is allowed 2 requests per hour. ",
> > in one of the twitter-development-talk i found this,  "What you all
> > have been confirming is correct. The intended behavior is 20k per IP
> > unauthenticated, and 20k per IP *per user* authenticated. This is not
> > a bug. ",
> > what does "20k per IP Per User" means ?
>
> > If N number of users are using my application which communicates with
> > Twitter over a whitelisted IP, then in total, how many GET-requests-
> > credit my application will get from Twitter per hour for authenticated
> > based requists?
>
> > On Dec 15, 9:12 pm, Abraham Williams <4bra...@gmail.com> wrote:
> > > Here is Twitter's documentation on rate limiting:
> >http://apiwiki.twitter.com/Rate-limiting
>
> > > Abraham
>
> > > On Tue, Dec 15, 2009 at 09:21, vikas  wrote:
> > > > Hi,
> > > > I went through the group lists searching for a clear understanding of
> > > > API rate limit, but unfortunately could not able to get a clear idea.
> > > > There are already many discussions about this but i am asking this
> > > > again as i need this information to develop my product.
>
> > > > I have few simple questions, the answers to which will solve my
> > > > problem, any one please help,
>
> > > > does the limit applies to IP only?
> > > > ex, if N number of users are requesting through a whitelisted IP, then
> > > > only IP's limit count is decreased and the individual users count is
> > > > not changed
>
> > > > or is it ip and also user based ?
> > > > ex, if my IP is whitelisted, then for 20,000 users i will get 20k *
> > > > 20k requests credit per hour.
>
> > > > Please explain the exact way the rate limit is working
>
> > > > thanks and regards,
> > > > Vikas
>
> > > --
> > > Abraham Williams | Awesome Lists |http://bit.ly/sprout608
> > > Project | Intersect |http://intersect.labs.poseurtech.com
> > > Hacker |http://abrah.am|http://twitter.com/abraham
> > > This email is: [ ] shareable [x] ask first [ ] private.
> > > Sent from Madison, WI, United States
>
> --
> Abraham Williams | Awesome Lists |http://bit.ly/sprout608
> Project | Intersect |http://intersect.labs.poseurtech.com
> Hacker |http://abrah.am|http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Madison, WI, United States


[twitter-dev] Re: API Rate Limit

2009-12-16 Thread vikas
Hi,
The document says "Each whitelisted entity, whether an account or IP
address, is allowed 2 requests per hour. ",
in one of the twitter-development-talk i found this,  "What you all
have been confirming is correct. The intended behavior is 20k per IP
unauthenticated, and 20k per IP *per user* authenticated. This is not
a bug. ",
what does "20k per IP Per User" means ?

If N number of users are using my application which communicates with
Twitter over a whitelisted IP, then in total, how many GET-requests-
credit my application will get from Twitter per hour for authenticated
based requists?


On Dec 15, 9:12 pm, Abraham Williams <4bra...@gmail.com> wrote:
> Here is Twitter's documentation on rate 
> limiting:http://apiwiki.twitter.com/Rate-limiting
>
> Abraham
>
>
>
> On Tue, Dec 15, 2009 at 09:21, vikas  wrote:
> > Hi,
> > I went through the group lists searching for a clear understanding of
> > API rate limit, but unfortunately could not able to get a clear idea.
> > There are already many discussions about this but i am asking this
> > again as i need this information to develop my product.
>
> > I have few simple questions, the answers to which will solve my
> > problem, any one please help,
>
> > does the limit applies to IP only?
> > ex, if N number of users are requesting through a whitelisted IP, then
> > only IP's limit count is decreased and the individual users count is
> > not changed
>
> > or is it ip and also user based ?
> > ex, if my IP is whitelisted, then for 20,000 users i will get 20k *
> > 20k requests credit per hour.
>
> > Please explain the exact way the rate limit is working
>
> > thanks and regards,
> > Vikas
>
> --
> Abraham Williams | Awesome Lists |http://bit.ly/sprout608
> Project | Intersect |http://intersect.labs.poseurtech.com
> Hacker |http://abrah.am|http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Madison, WI, United States


[twitter-dev] Re: API Rate Limit

2009-12-16 Thread vikas
The Twitter document  says "Each whitelisted entity, whether an
account or IP address, is allowed 2 requests per hour.", but in
the twitter-development-talk group, i found this , "What you all have
been confirming is correct. The intended behavior is 20k per IP
unauthenticated, and 20k per IP *per user* authenticated. This is not
a bug. "  on the following link,
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/e75daf87a23a0a61/6e7a6378577cc821?lnk=gst&q=Rate+Limiting+Question#6e7a6378577cc821

What does "20k per IP Per User"  means exactly ,
Assume a user is whitelisted and he is using my app which uses a
whitelisted IP,  for this scenario how many  'GET requests' credit my
app will get from Twitter per hour?

regards,
Vikas


On Dec 15, 9:12 pm, Abraham Williams <4bra...@gmail.com> wrote:
> Here is Twitter's documentation on rate 
> limiting:http://apiwiki.twitter.com/Rate-limiting
>
> Abraham
>
>
>
> On Tue, Dec 15, 2009 at 09:21, vikas  wrote:
> > Hi,
> > I went through the group lists searching for a clear understanding of
> > API rate limit, but unfortunately could not able to get a clear idea.
> > There are already many discussions about this but i am asking this
> > again as i need this information to develop my product.
>
> > I have few simple questions, the answers to which will solve my
> > problem, any one please help,
>
> > does the limit applies to IP only?
> > ex, if N number of users are requesting through a whitelisted IP, then
> > only IP's limit count is decreased and the individual users count is
> > not changed
>
> > or is it ip and also user based ?
> > ex, if my IP is whitelisted, then for 20,000 users i will get 20k *
> > 20k requests credit per hour.
>
> > Please explain the exact way the rate limit is working
>
> > thanks and regards,
> > Vikas
>
> --
> Abraham Williams | Awesome Lists |http://bit.ly/sprout608
> Project | Intersect |http://intersect.labs.poseurtech.com
> Hacker |http://abrah.am|http://twitter.com/abraham
> This email is: [ ] shareable [x] ask first [ ] private.
> Sent from Madison, WI, United States


[twitter-dev] API Rate Limit

2009-12-15 Thread vikas
Hi,
I went through the group lists searching for a clear understanding of
API rate limit, but unfortunately could not able to get a clear idea.
There are already many discussions about this but i am asking this
again as i need this information to develop my product.

I have few simple questions, the answers to which will solve my
problem, any one please help,

does the limit applies to IP only?
ex, if N number of users are requesting through a whitelisted IP, then
only IP's limit count is decreased and the individual users count is
not changed

or is it ip and also user based ?
ex, if my IP is whitelisted, then for 20,000 users i will get 20k *
20k requests credit per hour.

Please explain the exact way the rate limit is working

thanks and regards,
Vikas