Hi,
Thank you for your instant reply.
a. Using following API methods:
1. http://api.twitter.com/1/account/rate_limit_status.json
2.
http://api.twitter.com/1/statuses/followers.json?screen_name='.$unm.'&
cursor='.$cursorID;
3. http://api.twitter.com/1/users/show.json?screen_name='.$unm;
b. Below is the link that I am using for testing with user :
'ashabhosle'
http://www.honestfollowers.com/test5.php
c. As I was getting 500 error from twitter api server before so using
below logic for getting followers without error: (had discussion about this
with you before.):
public function followerscid ($unm, $cursorID)
{
$url = $this->UrlStatus;
$url .= 'followers.json?screen_name='.$unm.'&cursor='.$cursorID;
$statuses = $this->myUserParse($url, 'followers');
if(empty($statuses))
{
sleep(2);
$statuses = $this->followerscid($unm, $cursorID);
if(empty($statuses))
{ sleep(8);
$statuses = $this->followerscid($unm, $cursorID);
}
}
return $statuses;
}
PS: This is the snippet.
I am going to use ID method for getting followers very soon for big
users.
Thank you in advance.
On Wed, Oct 6, 2010 at 7:52 PM, Taylor Singletary <
[email protected]> wrote:
> What are the specific API methods that you are calling? Can you share the
> specific user? When you say "neither get any error nor result" do you mean
> the HTTP response is completely empty or that within whatever
> library/implementation you are using the calls do not yield results nor
> exceptions?
>
> Taylor
>
> On Wed, Oct 6, 2010 at 7:12 AM, Rushikesh Bhanage
> <[email protected]>wrote:
>
>> Hi there,
>>
>> I just need to know that is there any problem in getting data from API?
>>
>>
>> I am using rest API to get data from API, mainly accessing user's
>> followers data. I have been able to search a user having 1L followers on my
>> site but from last 2 - 3 days, I am not able to search user having 30k
>> followers, neither get any error nor result.
>>
>> So just need to ask that is this from twitter side? because this is also
>> happening when I run a code snippet in separate file.
>>
>> Thank you in advance.
>>
>> --
>> 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 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 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