public interface SpamReportingResource
| Modifier and Type | Method and Description | 
|---|---|
User | 
reportSpam(long userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer. 
 | 
User | 
reportSpam(java.lang.String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer. 
 | 
User reportSpam(long userId) throws TwitterException
userId - The ID of the user you want to report as a spammer.TwitterException - when Twitter service or network is unavailableUser reportSpam(java.lang.String screenName) throws TwitterException
screenName - The screen name of the user you want to report as a spammer.TwitterException - when Twitter service or network is unavailable