Re: [twitter-dev] friends/ids and followers/ids not working in oauth

2010-10-25 Thread Taylor Singletary
The console on dev.twitter.com is unreliable. I recommend using Apigee's
great Twitter console instead http://app.apigee.com/console/twitter

http://app.apigee.com/console/twitter#apimet=http%3A//api.twitter.com/1/friends/ids.json%3Fuser_id%3D1497__apiidx__%3Dnull__apisecure__%3Dtrue__apiprovider__%3Dtwitterfor
a good example.

We're working on showing our current bug-ridden console who's boss.

Taylor

On Mon, Oct 25, 2010 at 1:28 AM, jlezard joachim.lez...@gmail.com wrote:

 Hello,

 If you use the console to call the method friends/ids (like
 http://api.twitter.com/1/friends/ids.json?user_id=12345
 ) it no longer returns a nicely formated json, in fact it returns
 something completly wrong like 4 ids for someone who has 250
 friends

 I was heavily relying on this method for my app,  is there going to be
 a fix to this ?


 Thanks a lot



 Note: I can still get the friend ids with basic auth but then the
 limit is 150 which is not sufficient.

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


Re: [twitter-dev] friends/ids and followers/ids not working in oauth

2010-10-25 Thread Slate Smith
there is a current ticket on ids, also did you notice the newer id_str  
versus id, use that -

and don't use the console it's limiting.

$parameters = array(screen_name = BARACKOBAMA, cursor =  
$cursor);

$method = followers/ids;
$followers = $this-connection-get($method, $parameters);

Max return of 5000 ids minus suspended users. More than 5000, paginate  
with next_cursor_str and start with cursor always being -1 the  
first page, this will be eventually deprecated and automatic in all  
requests as pagination cursor being -1 [it's a string]


- Slate

On Oct 25, 2010, at 4:28 AM, jlezard wrote:


Hello,

If you use the console to call the method friends/ids (like
http://api.twitter.com/1/friends/ids.json?user_id=12345
) it no longer returns a nicely formated json, in fact it returns
something completly wrong like 4 ids for someone who has 250
friends

I was heavily relying on this method for my app,  is there going to be
a fix to this ?


Thanks a lot



Note: I can still get the friend ids with basic auth but then the
limit is 150 which is not sufficient.

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