twitter4j.api
Interface SpamReportingMethodsAsync

All Known Subinterfaces:
AsyncTwitter
All Known Implementing Classes:
AsyncTwitterImpl

public interface SpamReportingMethodsAsync

Not yet supported.

http://yusuke.homeip.net/jira/browse/TFJ-223


Method Summary
 void reportSpam(long userId)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 void reportSpam(java.lang.String screenName)
          The user specified in the id is blocked by the authenticated user and reported as a spammer.
 

Method Detail

reportSpam

void reportSpam(long userId)
The user specified in the id is blocked by the authenticated user and reported as a spammer.
This method calls http://api.twitter.com/1/report_spam.json

Parameters:
userId - The ID of the user you want to report as a spammer.
Since:
Twitter4J 2.1.0
See Also:
POST report_spam | dev.twitter.com

reportSpam

void reportSpam(java.lang.String screenName)
The user specified in the id is blocked by the authenticated user and reported as a spammer.
This method calls http://api.twitter.com/1/report_spam.json

Parameters:
screenName - The screen name of the user you want to report as a spammer.
Since:
Twitter4J 2.1.0
See Also:
POST report_spam | dev.twitter.com