How to specify suspended account and self deleted account

api

#1

I use stream API to collect a set of data. when I double check the accounts , I found some accounts are not exist. how can I tell this non-existing account whether they are suspended by twitter or delete by users themselves


#2

To check if an account is suspended, you can use /users/show

A suspended account will return en error code 63:
{"errors":[{"code":63,"message":"User has been suspended."}]}


#3

Dear,thank your reply,do u have some sample code for this one? as I am not familiar with coding, I just use twitter4j this java package get some data