1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>UsersResourcesAsync (twitter4j-async 4.0.7 API)</title>
- <meta name="date" content="2018-08-16">
- <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
- <script type="text/javascript" src="../../script.js"></script>
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="UsersResourcesAsync (twitter4j-async 4.0.7 API)";
- }
- }
- catch(err) {
- }
- var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":38,"i32":6,"i33":6,"i34":6};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
- var altColor = "altColor";
- var rowColor = "rowColor";
- var tableTab = "tableTab";
- var activeTableTab = "activeTableTab";
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <div class="topNav"><a name="navbar.top">
- </a>
- <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.top.firstrow">
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/UsersResourcesAsync.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-all.html">Index</a></li>
- <li><a href="../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../twitter4j/api/TweetsResourcesAsync.html" title="interface in twitter4j.api"><span class="typeNameLink">Prev Class</span></a></li>
- <li>Next Class</li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?twitter4j/api/UsersResourcesAsync.html" target="_top">Frames</a></li>
- <li><a href="UsersResourcesAsync.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript">
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li>Constr | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li>Constr | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.top">
- </a></div>
- <div class="header">
- <div class="subTitle">twitter4j.api</div>
- <h2 title="Interface UsersResourcesAsync" class="title">Interface UsersResourcesAsync</h2>
- </div>
- <div class="contentContainer">
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Known Subinterfaces:</dt>
- <dd><a href="../../twitter4j/AsyncTwitter.html" title="interface in twitter4j">AsyncTwitter</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public interface <span class="typeNameLabel">UsersResourcesAsync</span></pre>
- <dl>
- <dt><span class="simpleTagLabel">Author:</span></dt>
- <dd>Joern Huxhorn - jhuxhorn at googlemail.com</dd>
- </dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <ul class="blockList">
- <li class="blockList"><a name="method.summary">
- </a>
- <h3>Method Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr id="i0" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#createBlock-long-">createBlock</a></span>(long userId)</code>
- <div class="block">Blocks the user specified in the ID parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#createBlock-java.lang.String-">createBlock</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Blocks the user specified in the ID parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#createMute-long-">createMute</a></span>(long userId)</code>
- <div class="block">Mutes the user specified in the ID parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#createMute-java.lang.String-">createMute</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Mutes the user specified in the screen name parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#destroyBlock-long-">destroyBlock</a></span>(long userId)</code>
- <div class="block">Un-blocks the user specified in the ID parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#destroyBlock-java.lang.String-">destroyBlock</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Un-blocks the user specified in the ID parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#destroyMute-long-">destroyMute</a></span>(long userId)</code>
- <div class="block">Un-mutes the user specified in the ID parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#destroyMute-java.lang.String-">destroyMute</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Un-mutes the user specified in the screen name parameter as the authenticating user.</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getAccountSettings--">getAccountSettings</a></span>()</code>
- <div class="block">Returns the current trend, geo and sleep time information for the authenticating user.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getBlocksIDs--">getBlocksIDs</a></span>()</code>
- <div class="block">Returns an array of numeric user ids the authenticating user is blocking.</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getBlocksIDs-long-">getBlocksIDs</a></span>(long cursor)</code>
- <div class="block">Returns an array of numeric user ids the authenticating user is blocking.</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getBlocksList--">getBlocksList</a></span>()</code>
- <div class="block">Returns a list of user objects that the authenticating user is blocking.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getBlocksList-long-">getBlocksList</a></span>(long cursor)</code>
- <div class="block">Returns a list of user objects that the authenticating user is blocking.</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getContributees-long-">getContributees</a></span>(long userId)</code>
- <div class="block">Returns an array of users that the specified user can contribute to.</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getContributees-java.lang.String-">getContributees</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Returns an array of users that the specified user can contribute to.</div>
- </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getContributors-long-">getContributors</a></span>(long userId)</code>
- <div class="block">Returns an array of users who can contribute to the specified account.</div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getContributors-java.lang.String-">getContributors</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Returns an array of users who can contribute to the specified account.</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getMutesIDs-long-">getMutesIDs</a></span>(long cursor)</code>
- <div class="block">Returns an array of numeric user ids the authenticating user is muting.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#getMutesList-long-">getMutesList</a></span>(long cursor)</code>
- <div class="block">Returns a list of user objects that the authenticating user is muting.</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#lookupUsers-long...-">lookupUsers</a></span>(long... ids)</code>
- <div class="block">Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#lookupUsers-java.lang.String...-">lookupUsers</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... screenNames)</code>
- <div class="block">Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#removeProfileBanner--">removeProfileBanner</a></span>()</code>
- <div class="block">Removes the uploaded profile banner for the authenticating user.</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#searchUsers-java.lang.String-int-">searchUsers</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query,
- int page)</code>
- <div class="block">Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API.<br>
- Usage note: It is only possible to retrieve the first 1000 matches from this API.</div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#showUser-long-">showUser</a></span>(long userId)</code>
- <div class="block">Returns extended information of a given user, specified by ID or screen name as per the required id parameter.</div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#showUser-java.lang.String-">showUser</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
- <div class="block">Returns extended information of a given user, specified by ID or screen name as per the required id parameter.</div>
- </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateAccountSettings-java.lang.Integer-java.lang.Boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">updateAccountSettings</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> trendLocationWoeid,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sleepTimeEnabled,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> startSleepTime,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> endSleepTime,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timeZone,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lang)</code>
- <div class="block">Updates the current trend, geo, language, timezone and sleep time information for the authenticating user.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfile-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">updateProfile</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> url,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> location,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description)</code>
- <div class="block">Sets values that users are able to set under the "Account" tab of their settings page.</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileBackgroundImage-java.io.File-boolean-">updateProfileBackgroundImage</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> image,
- boolean tile)</code>
- <div class="block">Updates the authenticating user's profile background image.</div>
- </td>
- </tr>
- <tr id="i28" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileBackgroundImage-java.io.InputStream-boolean-">updateProfileBackgroundImage</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> image,
- boolean tile)</code>
- <div class="block">Updates the authenticating user's profile background image.</div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileBanner-java.io.File-">updateProfileBanner</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> image)</code>
- <div class="block">Uploads a profile banner on behalf of the authenticating user.</div>
- </td>
- </tr>
- <tr id="i30" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileBanner-java.io.InputStream-">updateProfileBanner</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> image)</code>
- <div class="block">Uploads a profile banner on behalf of the authenticating user.</div>
- </td>
- </tr>
- <tr id="i31" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileColors-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">updateProfileColors</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileBackgroundColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileTextColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileLinkColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileSidebarFillColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileSidebarBorderColor)</code>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span>
- <div class="block"><span class="deprecationComment">Since Twitter4J 4.0.5</span></div>
- </div>
- </td>
- </tr>
- <tr id="i32" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileImage-java.io.File-">updateProfileImage</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> image)</code>
- <div class="block">Updates the authenticating user's profile image.</div>
- </td>
- </tr>
- <tr id="i33" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#updateProfileImage-java.io.InputStream-">updateProfileImage</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> image)</code>
- <div class="block">Updates the authenticating user's profile image.</div>
- </td>
- </tr>
- <tr id="i34" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResourcesAsync.html#verifyCredentials--">verifyCredentials</a></span>()</code>
- <div class="block">Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- </a>
- <h3>Method Detail</h3>
- <a name="getAccountSettings--">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getAccountSettings</h4>
- <pre>void getAccountSettings()</pre>
- <div class="block">Returns the current trend, geo and sleep time information for the authenticating user.
- <br>This method has not been finalized and the interface is subject to change in incompatible ways.
- <br>This method calls https://api.twitter.com/1.1/account/settings.json</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.9</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/account/totals">GET account/settings | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="verifyCredentials--">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>verifyCredentials</h4>
- <pre>void verifyCredentials()</pre>
- <div class="block">Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not. Use this method to test if supplied user credentials are valid.
- <br>This method calls https://api.twitter.com/1.1/account/verify_credentials.json</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.3</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/account/verify_credentials">GET account/verify_credentials | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateAccountSettings-java.lang.Integer-java.lang.Boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateAccountSettings</h4>
- <pre>void updateAccountSettings(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> trendLocationWoeid,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> sleepTimeEnabled,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> startSleepTime,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> endSleepTime,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timeZone,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lang)</pre>
- <div class="block">Updates the current trend, geo, language, timezone and sleep time information for the authenticating user.
- <br>This method has not been finalized and the interface is subject to change in incompatible ways.
- <br>This method calls https://api.twitter.com/1.1/account/settings.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>trendLocationWoeid</code> - Optional. The Yahoo! Where On Earth ID to use as the user's default trend location.</dd>
- <dd><code>sleepTimeEnabled</code> - Optional. Whether sleep time is enabled for the user</dd>
- <dd><code>startSleepTime</code> - Optional. The hour that sleep time should begin if it is enabled.</dd>
- <dd><code>endSleepTime</code> - Optional. The hour that sleep time should end if it is enabled.</dd>
- <dd><code>timeZone</code> - Optional. The timezone dates and times should be displayed in for the user.</dd>
- <dd><code>lang</code> - Optional. The language which Twitter should render in for this user. (two letter ISO 639-1)</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.2.4</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/settings">POST account/settings | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfile-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfile</h4>
- <pre>void updateProfile(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> url,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> location,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> description)</pre>
- <div class="block">Sets values that users are able to set under the "Account" tab of their settings page. Only the parameters specified(non-null) will be updated.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>name</code> - Optional. Maximum of 20 characters.</dd>
- <dd><code>url</code> - Optional. Maximum of 100 characters. Will be prepended with "http://" if not present.</dd>
- <dd><code>location</code> - Optional. Maximum of 30 characters. The contents are not normalized or geocoded in any way.</dd>
- <dd><code>description</code> - Optional. Maximum of 160 characters.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.8</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile">POST account/update_profile | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileBackgroundImage-java.io.File-boolean-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfileBackgroundImage</h4>
- <pre>void updateProfileBackgroundImage(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> image,
- boolean tile)</pre>
- <div class="block">Updates the authenticating user's profile background image.
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_background_image.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - Must be a valid GIF, JPG, or PNG image of less than 800 kilobytes in size. Images with width larger than 2048 pixels will be forcibly scaled down.</dd>
- <dd><code>tile</code> - If set to true the background image will be displayed tiled. The image will not be tiled otherwise.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_background_image">POST account/update_profile_background_image | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileBackgroundImage-java.io.InputStream-boolean-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfileBackgroundImage</h4>
- <pre>void updateProfileBackgroundImage(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> image,
- boolean tile)</pre>
- <div class="block">Updates the authenticating user's profile background image.
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_background_image.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - Must be a valid GIF, JPG, or PNG image of less than 800 kilobytes in size. Images with width larger than 2048 pixels will be forcibly scaled down.</dd>
- <dd><code>tile</code> - If set to true the background image will be displayed tiled. The image will not be tiled otherwise.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.11</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_background_image">POST account/update_profile_background_image | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileColors-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfileColors</h4>
- <pre>void updateProfileColors(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileBackgroundColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileTextColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileLinkColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileSidebarFillColor,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> profileSidebarBorderColor)</pre>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since Twitter4J 4.0.5</span></div>
- <div class="block">Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com. Each parameter's value must be a valid hexadecimal value, and may be either three or six characters (ex: #fff or #ffffff).
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_colors</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>profileBackgroundColor</code> - optional, can be null</dd>
- <dd><code>profileTextColor</code> - optional, can be null</dd>
- <dd><code>profileLinkColor</code> - optional, can be null</dd>
- <dd><code>profileSidebarFillColor</code> - optional, can be null</dd>
- <dd><code>profileSidebarBorderColor</code> - optional, can be null</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_colors">POST account/update_profile_colors | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileImage-java.io.File-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfileImage</h4>
- <pre>void updateProfileImage(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> image)</pre>
- <div class="block">Updates the authenticating user's profile image.
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_image.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - Must be a valid GIF, JPG, or PNG image of less than 700 kilobytes in size. Images with width larger than 500 pixels will be scaled down.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_image">POST account/update_profile_image | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileImage-java.io.InputStream-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfileImage</h4>
- <pre>void updateProfileImage(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> image)</pre>
- <div class="block">Updates the authenticating user's profile image.
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_image.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - Must be a valid GIF, JPG, or PNG image of less than 700 kilobytes in size. Images with width larger than 500 pixels will be scaled down.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.11</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_image">POST account/update_profile_image | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getBlocksList--">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBlocksList</h4>
- <pre>void getBlocksList()</pre>
- <div class="block">Returns a list of user objects that the authenticating user is blocking.
- <br>This method calls https://api.twitter.com/1.1/blocks/blocking.xml</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.0.4</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/blocks/blocking">GET blocks/blocking | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getBlocksList-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBlocksList</h4>
- <pre>void getBlocksList(long cursor)</pre>
- <div class="block">Returns a list of user objects that the authenticating user is blocking.
- <br>This method calls https://api.twitter.com/1.1/blocks/blocking.xml</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cursor</code> - Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried. If no cursor is provided, a value of -1 will be assumed, which is the first "page."</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.0.4</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/blocks/blocking">GET blocks/blocking | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getBlocksIDs--">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBlocksIDs</h4>
- <pre>void getBlocksIDs()</pre>
- <div class="block">Returns an array of numeric user ids the authenticating user is blocking.
- <br>This method calls https://api.twitter.com/1.1/blocks/blocking/ids</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.0.4</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/blocks/ids">GET blocks/ids | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getBlocksIDs-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBlocksIDs</h4>
- <pre>void getBlocksIDs(long cursor)</pre>
- <div class="block">Returns an array of numeric user ids the authenticating user is blocking.
- <br>This method calls https://api.twitter.com/1.1/blocks/blocking/ids</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cursor</code> - cursor</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/blocks/ids">GET blocks/ids | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="createBlock-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createBlock</h4>
- <pre>void createBlock(long userId)</pre>
- <div class="block">Blocks the user specified in the ID parameter as the authenticating user. Returns the blocked user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/blocks/create%C2%A0</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the screen_name of the user to block</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/blocks/create">POST blocks/create | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="createBlock-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createBlock</h4>
- <pre>void createBlock(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Blocks the user specified in the ID parameter as the authenticating user. Returns the blocked user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/blocks/create%C2%A0</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - the screen_name of the user to block</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.0.1</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/blocks/create">POST blocks/create | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="destroyBlock-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>destroyBlock</h4>
- <pre>void destroyBlock(long userId)</pre>
- <div class="block">Un-blocks the user specified in the ID parameter as the authenticating user. Returns the un-blocked user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/blocks/create%C2%A0</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the ID of the user to block</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/blocks/destroy">POST blocks/destroy | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="destroyBlock-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>destroyBlock</h4>
- <pre>void destroyBlock(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Un-blocks the user specified in the ID parameter as the authenticating user. Returns the un-blocked user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/blocks/create%C2%A0</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - the screen_name of the user to block</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.0.1</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/blocks/destroy">POST blocks/destroy | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getMutesList-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMutesList</h4>
- <pre>void getMutesList(long cursor)</pre>
- <div class="block">Returns a list of user objects that the authenticating user is muting.
- <br>This method calls https://api.twitter.com/1.1/mutes/users/list</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cursor</code> - Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried. If no cursor is provided, a value of -1 will be assumed, which is the first "page."</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/mutes/users/list">GET mutes/users/list | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getMutesIDs-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMutesIDs</h4>
- <pre>void getMutesIDs(long cursor)</pre>
- <div class="block">Returns an array of numeric user ids the authenticating user is muting.
- <br>This method calls https://api.twitter.com/1.1/mutes/users/ids</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cursor</code> - Causes the list of muted users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried. If no cursor is provided, a value of -1 will be assumed, which is the first "page."</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/mutes/users/ids">GET mutes/users/ids | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="createMute-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createMute</h4>
- <pre>void createMute(long userId)</pre>
- <div class="block">Mutes the user specified in the ID parameter as the authenticating user. Returns the muted user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/mutes/users/create</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the ID of the user to mute</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/mutes/users/create">POST mutes/users/create | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="createMute-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createMute</h4>
- <pre>void createMute(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Mutes the user specified in the screen name parameter as the authenticating user. Returns the muted user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/mutes/users/create</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - the screen_name of the user to mute</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/mutes/users/create">POST mutes/users/create | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="destroyMute-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>destroyMute</h4>
- <pre>void destroyMute(long userId)</pre>
- <div class="block">Un-mutes the user specified in the ID parameter as the authenticating user. Returns the un-muted user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/mutes/users/destroy</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the ID of the user to mute</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/mutes/users/destroy">POST mutes/users/destroy | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="destroyMute-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>destroyMute</h4>
- <pre>void destroyMute(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Un-mutes the user specified in the screen name parameter as the authenticating user. Returns the un-muted user in the requested format when successful.
- <br>This method calls https://api.twitter.com/1.1/mutes/users/destroy</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - the screen_name of the user to mute</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.2</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/mutes/users/destroy">POST mutes/users/destroy | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="lookupUsers-long...-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>lookupUsers</h4>
- <pre>void lookupUsers(long... ids)</pre>
- <div class="block">Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. The author's most recent status (if the authenticating user has permission) will be returned inline.
- <br>This method calls https://api.twitter.com/1.1/users/lookup.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>ids</code> - Specifies the screen names of the users to retrieve.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/lookup">GET users/lookup | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="lookupUsers-java.lang.String...-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>lookupUsers</h4>
- <pre>void lookupUsers(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>... screenNames)</pre>
- <div class="block">Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. The author's most recent status (if the authenticating user has permission) will be returned inline.
- <br>This method calls https://api.twitter.com/1.1/users/lookup.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenNames</code> - Specifies the screen names of the users to retrieve.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/lookup">GET users/lookup | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="showUser-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>showUser</h4>
- <pre>void showUser(long userId)</pre>
- <div class="block">Returns extended information of a given user, specified by ID or screen name as per the required id parameter. The author's most recent status will be returned inline.
- <br>This method calls https://api.twitter.com/1.1/users/show.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the ID of the user for whom to request the retrieve</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/show">GET users/show | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="showUser-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>showUser</h4>
- <pre>void showUser(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Returns extended information of a given user, specified by ID or screen name as per the required id parameter. The author's most recent status will be returned inline.
- <br>This method calls https://api.twitter.com/1.1/users/show.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - the screen name of the user for whom to request the detail</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/show">GET users/show | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="searchUsers-java.lang.String-int-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>searchUsers</h4>
- <pre>void searchUsers(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query,
- int page)</pre>
- <div class="block">Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API.<br>
- Usage note: It is only possible to retrieve the first 1000 matches from this API.
- <br>This method calls https://api.twitter.com/1.1/users/search.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>query</code> - The query to run against people search.</dd>
- <dd><code>page</code> - Specifies the page of results to retrieve. Number of statuses per page is fixed to 20.</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/search">GET users/search | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getContributees-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getContributees</h4>
- <pre>void getContributees(long userId)</pre>
- <div class="block">Returns an array of users that the specified user can contribute to.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - The user id of the user for whom to return results for</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/contributees">GET users/contributors | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getContributees-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getContributees</h4>
- <pre>void getContributees(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Returns an array of users that the specified user can contribute to.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - The screen name of the user for whom to return results for</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/contributees">GET users/contributors | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getContributors-long-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getContributors</h4>
- <pre>void getContributors(long userId)</pre>
- <div class="block">Returns an array of users who can contribute to the specified account.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - The user id of the user for whom to return results for</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/contributors">GET users/contributors | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getContributors-java.lang.String-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getContributors</h4>
- <pre>void getContributors(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
- <div class="block">Returns an array of users who can contribute to the specified account.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screenName</code> - The screen name of the user for whom to return results for</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/users/contributors">GET users/contributors | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="removeProfileBanner--">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>removeProfileBanner</h4>
- <pre>void removeProfileBanner()</pre>
- <div class="block">Removes the uploaded profile banner for the authenticating user. Returns HTTP 200 upon success.
- <br>This method calls https://api.twitter.com/1.1/account/remove_profile_banner.json</div>
- <dl>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/remove_profile_banner">POST account/remove_profile_banner | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileBanner-java.io.File-">
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateProfileBanner</h4>
- <pre>void updateProfileBanner(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> image)</pre>
- <div class="block">Uploads a profile banner on behalf of the authenticating user. For best results, upload an <5MB image that is exactly 1252px by 626px. Images will be resized for a number of display options. Users with an uploaded profile banner will have a profile_banner_url node in their <a href="https://dev.twitter.com/docs/platform-objects/users">Users</a> objects. More information about sizing variations can be found in <a href="https://dev.twitter.com/docs/user-profile-images-and-banners">User Profile Images and Banners</a>.<br>
- Profile banner images are processed asynchronously. The profile_banner_url and its variant sizes will not necessary be available directly after upload.<br>
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_banner.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - For best results, upload an <5MB image that is exactly 1252px by 626px.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_banner">POST account/update_profile_banner | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="updateProfileBanner-java.io.InputStream-">
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>updateProfileBanner</h4>
- <pre>void updateProfileBanner(<a href="http://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> image)</pre>
- <div class="block">Uploads a profile banner on behalf of the authenticating user. For best results, upload an <5MB image that is exactly 1252px by 626px. Images will be resized for a number of display options. Users with an uploaded profile banner will have a profile_banner_url node in their <a href="https://dev.twitter.com/docs/platform-objects/users">Users</a> objects. More information about sizing variations can be found in <a href="https://dev.twitter.com/docs/user-profile-images-and-banners">User Profile Images and Banners</a>.<br>
- Profile banner images are processed asynchronously. The profile_banner_url and its variant sizes will not necessary be available directly after upload.<br>
- <br>This method calls https://api.twitter.com/1.1/account/update_profile_banner.json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>image</code> - For best results, upload an <5MB image that is exactly 1252px by 626px.</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 3.0.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/post/account/update_profile_banner">POST account/update_profile_banner | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <div class="bottomNav"><a name="navbar.bottom">
- </a>
- <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
- <a name="navbar.bottom.firstrow">
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/UsersResourcesAsync.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../index-all.html">Index</a></li>
- <li><a href="../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../twitter4j/api/TweetsResourcesAsync.html" title="interface in twitter4j.api"><span class="typeNameLink">Prev Class</span></a></li>
- <li>Next Class</li>
- </ul>
- <ul class="navList">
- <li><a href="../../index.html?twitter4j/api/UsersResourcesAsync.html" target="_top">Frames</a></li>
- <li><a href="UsersResourcesAsync.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript">
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li>Nested | </li>
- <li>Field | </li>
- <li>Constr | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li>Constr | </li>
- <li><a href="#method.detail">Method</a></li>
- </ul>
- </div>
- <a name="skip.navbar.bottom">
- </a></div>
- <p class="legalCopy"><small>Copyright © 2018. All rights reserved.</small></p>
- </body>
- </html>
|