[twitter-dev] Re: When requesting user updates api returns 502 error

2009-07-07 Thread Kaan ŞENGÜL

Thanks for your reply. I'll try that.. Thank you so much again..

On Jul 7, 9:57 am, Doug Williams  wrote:
> Kaan,
> The documentation for the method [1] states that the limit for the count
> parameter is 200. Therefore, you will have to use a combination of the count
> and page parameter to access all of the tweets (up to 3200 [2]) for a given
> user.
>
> 1.http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_t...
> 2.http://apiwiki.twitter.com/Things-Every-Developer-Should-Know#6Therea...
>
> Thanks,
> Doug
>
> 2009/7/6 Kaan ŞENGÜL 
>
>
>
> > For example, my username is "gkaans" and I want all of my tweets. At
> > first, I want to get status count by this url ( and using System.Xml
> > library in C#)
>
> >http://twitter.com/statuses/user_timeline/"; + user.username + ".xml?
> > count=1
>
> > When I get the number of tweets, I rerequest that user's timeline but
> > this time count param becomes user's number of statuses.
>
> >http://twitter.com/statuses/user_timeline/"; + user.username + ".xml?
> > count=" + user.statusCount;
>
> > For example my username is gkaans and number of updates is1303, so my
> > request url is:
> >http://twitter.com/statuses/user_timeline/gkaans.xml?count=1303
> > but it returns 502 error. I realize that when I typed it to the
> > browser's adress bar, there is no problem.
>
> > On Jul 7, 12:54 am, Doug Williams  wrote:
> > > Kaan,Please provide more details about what you are doing and how you are
> > > trying to obtain the data. Without any of these details, it's hard to
> > deduce
> > > why you are getting a 502 Timeout.
>
> > > Thanks,
> > > Doug
>
> > > 2009/7/6 Kaan ŞENGÜL 
>
> > > > I'm working on a project that needs one person's timeline, I mean all
> > > > of the updates from a specific user. But for large users API returns
> > > > 502 error.
>
> > > > Any suggestions?
>
>


[twitter-dev] Re: When requesting user updates api returns 502 error

2009-07-06 Thread Doug Williams
Kaan,
The documentation for the method [1] states that the limit for the count
parameter is 200. Therefore, you will have to use a combination of the count
and page parameter to access all of the tweets (up to 3200 [2]) for a given
user.

1.
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_timeline
2.
http://apiwiki.twitter.com/Things-Every-Developer-Should-Know#6Therearepaginationlimits

Thanks,
Doug



2009/7/6 Kaan ŞENGÜL 

>
> For example, my username is "gkaans" and I want all of my tweets. At
> first, I want to get status count by this url ( and using System.Xml
> library in C#)
>
> http://twitter.com/statuses/user_timeline/"; + user.username + ".xml?
> count=1
>
> When I get the number of tweets, I rerequest that user's timeline but
> this time count param becomes user's number of statuses.
>
> http://twitter.com/statuses/user_timeline/"; + user.username + ".xml?
> count=" + user.statusCount;
>
> For example my username is gkaans and number of updates is1303, so my
> request url is:
> http://twitter.com/statuses/user_timeline/gkaans.xml?count=1303
> but it returns 502 error. I realize that when I typed it to the
> browser's adress bar, there is no problem.
>
>
>
> On Jul 7, 12:54 am, Doug Williams  wrote:
> > Kaan,Please provide more details about what you are doing and how you are
> > trying to obtain the data. Without any of these details, it's hard to
> deduce
> > why you are getting a 502 Timeout.
> >
> > Thanks,
> > Doug
> >
> > 2009/7/6 Kaan ŞENGÜL 
> >
> >
> >
> > > I'm working on a project that needs one person's timeline, I mean all
> > > of the updates from a specific user. But for large users API returns
> > > 502 error.
> >
> > > Any suggestions?
>


[twitter-dev] Re: When requesting user updates api returns 502 error

2009-07-06 Thread Kaan ŞENGÜL

For example, my username is "gkaans" and I want all of my tweets. At
first, I want to get status count by this url ( and using System.Xml
library in C#)

http://twitter.com/statuses/user_timeline/"; + user.username + ".xml?
count=1

When I get the number of tweets, I rerequest that user's timeline but
this time count param becomes user's number of statuses.

http://twitter.com/statuses/user_timeline/"; + user.username + ".xml?
count=" + user.statusCount;

For example my username is gkaans and number of updates is1303, so my
request url is: http://twitter.com/statuses/user_timeline/gkaans.xml?count=1303
but it returns 502 error. I realize that when I typed it to the
browser's adress bar, there is no problem.



On Jul 7, 12:54 am, Doug Williams  wrote:
> Kaan,Please provide more details about what you are doing and how you are
> trying to obtain the data. Without any of these details, it's hard to deduce
> why you are getting a 502 Timeout.
>
> Thanks,
> Doug
>
> 2009/7/6 Kaan ŞENGÜL 
>
>
>
> > I'm working on a project that needs one person's timeline, I mean all
> > of the updates from a specific user. But for large users API returns
> > 502 error.
>
> > Any suggestions?


[twitter-dev] Re: When requesting user updates api returns 502 error

2009-07-06 Thread Doug Williams
Kaan,Please provide more details about what you are doing and how you are
trying to obtain the data. Without any of these details, it's hard to deduce
why you are getting a 502 Timeout.

Thanks,
Doug




2009/7/6 Kaan ŞENGÜL 

>
> I'm working on a project that needs one person's timeline, I mean all
> of the updates from a specific user. But for large users API returns
> 502 error.
>
> Any suggestions?
>