パッケージ twitter4j.v1
インタフェース SpamReportingResource
public interface SpamReportingResource
-
メソッドの概要
修飾子とタイプメソッド説明reportSpam
(long userId) The user specified in the id is blocked by the authenticated user and reported as a spammer.reportSpam
(String screenName) The user specified in the id is blocked by the authenticated user and reported as a spammer.
-
メソッドの詳細
-
reportSpam
The user specified in the id is blocked by the authenticated user and reported as a spammer.
This method calls https://api.twitter.com/1.1/report_spam.json- パラメータ:
userId
- The ID of the user you want to report as a spammer.- 戻り値:
- The User reported as a spammer.
- 例外:
TwitterException
- when Twitter service or network is unavailable- 導入されたバージョン:
- Twitter4J 2.1.0
- 関連項目:
-
reportSpam
The user specified in the id is blocked by the authenticated user and reported as a spammer.
This method calls https://api.twitter.com/1.1/report_spam.json- パラメータ:
screenName
- The screen name of the user you want to report as a spammer.- 戻り値:
- The User reported as a spammer.
- 例外:
TwitterException
- when Twitter service or network is unavailable- 導入されたバージョン:
- Twitter4J 2.1.0
- 関連項目:
-