Re: [twitter-dev] Re: Empty responses

2010-10-25 Thread Slate Smith

Gotcha, I'll write in a class to test for suspension/deletion etc.
On Oct 25, 2010, at 3:51 PM, Tim wrote:


I believe users/show returns with status 403, with user has been
suspended in the text

On Oct 25, 5:19 pm, Slate Smith sl...@slatesmith.com wrote:

I haven't seen a method for checking a suspended or deleted account
yet. If anyone knows of a hack for that it would be nice. Messes w/
metrics etc.


--
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] Re: Empty responses

2010-10-25 Thread Matt Harris
When querying for users directly using users/show we will indicate if they
are suspended or not. If they are deleted it's as if they never existed so
you will get a 404. For methods such as timeline responses, and
followers/friends, suspended and deleted users are filtered out.

Remember a suspended user can be reinstated, and that users can change their
screen_name leading to 404s if you query for them in that way. Assuming a
user is deleted or suspended permanently using users/show is not sensible,
and you should instead rely on Twitter filtering the users out of other
responses (such as followers/friends/timelines).

As for the missing users could you please add the screen_names to this
ticket in our issue tracker:
http://code.google.com/p/twitter-api/issues/detail?id=1784

Best
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Mon, Oct 25, 2010 at 12:59 PM, Slate Smith sl...@slatesmith.com wrote:

 Gotcha, I'll write in a class to test for suspension/deletion etc.

 On Oct 25, 2010, at 3:51 PM, Tim wrote:

  I believe users/show returns with status 403, with user has been
 suspended in the text

 On Oct 25, 5:19 pm, Slate Smith sl...@slatesmith.com wrote:

 I haven't seen a method for checking a suspended or deleted account
 yet. If anyone knows of a hack for that it would be nice. Messes w/
 metrics etc.


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