12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="en">
- <head>
- <!-- Generated by javadoc (1.8.0_161) on Thu Aug 16 18:54:14 JST 2018 -->
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>UsersResources (twitter4j-core 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="UsersResources (twitter4j-core 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":38,"i29":6,"i30":6,"i31":6,"i32":38,"i33":6,"i34":6,"i35":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>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <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/UsersResources.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/TweetsResources.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/UsersResources.html" target="_top">Frames</a></li>
- <li><a href="UsersResources.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"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </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>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">twitter4j.api</div>
- <h2 title="Interface UsersResources" class="title">Interface UsersResources</h2>
- </div>
- <div class="contentContainer">
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Known Subinterfaces:</dt>
- <dd><a href="../../twitter4j/Twitter.html" title="interface in twitter4j">Twitter</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public interface <span class="typeNameLabel">UsersResources</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">
- <!-- ========== METHOD SUMMARY =========== -->
- <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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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> screen_name)</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/AccountSettings.html" title="interface in twitter4j">AccountSettings</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.html#getAccountSettings--">getAccountSettings</a></span>()</code>
- <div class="block">Returns the current trend, geo, language, timezone and sleep time information for the authenticating user.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code><a href="../../twitter4j/IDs.html" title="interface in twitter4j">IDs</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/IDs.html" title="interface in twitter4j">IDs</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/PagableResponseList.html" title="interface in twitter4j">PagableResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/PagableResponseList.html" title="interface in twitter4j">PagableResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/IDs.html" title="interface in twitter4j">IDs</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/PagableResponseList.html" title="interface in twitter4j">PagableResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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/UsersResources.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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/AccountSettings.html" title="interface in twitter4j">AccountSettings</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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><a href="../../twitter4j/AccountSettings.html" title="interface in twitter4j">AccountSettings</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.html#updateAllowDmsFrom-java.lang.String-">updateAllowDmsFrom</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> allowDmsFrom)</code>
- <div class="block">Updates the allowDmsFrom settings for the authenticating user.</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i28" class="altColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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"><span class="deprecatedLabel">Deprecated.</span>
- <div class="block"><span class="deprecationComment">Since Twitter4J 4.0.7</span></div>
- </div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i30" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i31" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i32" class="altColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i33" class="rowColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i34" class="altColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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="i35" class="rowColor">
- <td class="colFirst"><code><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/UsersResources.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">
- <!-- ============ METHOD DETAIL ========== -->
- <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><a href="../../twitter4j/AccountSettings.html" title="interface in twitter4j">AccountSettings</a> getAccountSettings()
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
- <div class="block">Returns 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="returnLabel">Returns:</span></dt>
- <dd>the current trend, geo and sleep time information for the authenticating user.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
- <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/settings">GET account/settings | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="verifyCredentials--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>verifyCredentials</h4>
- <pre><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> verifyCredentials()
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable, or if supplied credential is wrong (TwitterException.getStatusCode() == 401)</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/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><a href="../../twitter4j/AccountSettings.html" title="interface in twitter4j">AccountSettings</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the current trend, geo and sleep time information for the authenticating user.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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="updateAllowDmsFrom-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>updateAllowDmsFrom</h4>
- <pre><a href="../../twitter4j/AccountSettings.html" title="interface in twitter4j">AccountSettings</a> updateAllowDmsFrom(<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> allowDmsFrom)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
- <div class="block">Updates the allowDmsFrom settings 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
- <br>This method requires whitelisting from Twitter: https://twittercommunity.com/t/api-updates-for-direct-messages-rules/36061</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>allowDmsFrom</code> - Optional. "all" for anyone, "followers" for friends only</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the current trend, geo and sleep time information for the authenticating user.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.7</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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.
- <br>This method calls https://api.twitter.com/1.1/account/update_profile.json</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="returnLabel">Returns:</span></dt>
- <dd>the updated user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since Twitter4J 4.0.7</span></div>
- <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 forceably 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="returnLabel">Returns:</span></dt>
- <dd>the updated user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable,
- or when the specified file is not found (FileNotFoundException will be nested),
- or when the specified file object in not representing a file (IOException will be nested)</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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 forceably 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="returnLabel">Returns:</span></dt>
- <dd>the updated user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable,
- or when the specified file is not found (FileNotFoundException will be nested),
- or when the specified file object in not representing a file (IOException will be nested)</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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.json</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="returnLabel">Returns:</span></dt>
- <dd>the updated user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the updated user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable,
- or when the specified file is not found (FileNotFoundException will be nested),
- or when the specified file object in not representing a file (IOException will be nested)</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the updated user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable,
- or when the specified file is not found (FileNotFoundException will be nested),
- or when the specified file object in not representing a file (IOException will be nested)</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><a href="../../twitter4j/PagableResponseList.html" title="interface in twitter4j">PagableResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> getBlocksList()
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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.json</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>a list of user objects that the authenticating user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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="getBlocksList-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getBlocksList</h4>
- <pre><a href="../../twitter4j/PagableResponseList.html" title="interface in twitter4j">PagableResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> getBlocksList(long cursor)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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.json</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="returnLabel">Returns:</span></dt>
- <dd>a list of user objects that the authenticating user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/IDs.html" title="interface in twitter4j">IDs</a> getBlocksIDs()
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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/ids</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>Returns an array of numeric user ids the authenticating user is blocking.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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/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><a href="../../twitter4j/IDs.html" title="interface in twitter4j">IDs</a> getBlocksIDs(long cursor)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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/ids</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>cursor</code> - cursor</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>Returns an array of numeric user ids the authenticating user is blocking.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> createBlock(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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/[id].json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the ID of the user to block</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the blocked user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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/[id].json</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="returnLabel">Returns:</span></dt>
- <dd>the blocked user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> destroyBlock(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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/destroy/[id].json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>userId</code> - the ID of the user to block</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the unblocked user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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="destroyBlock-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>destroyBlock</h4>
- <pre><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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> screen_name)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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/destroy/[id].json</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>screen_name</code> - the screen_name of the user to block</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the unblocked user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/PagableResponseList.html" title="interface in twitter4j">PagableResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> getMutesList(long cursor)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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 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="returnLabel">Returns:</span></dt>
- <dd>a list of user objects that the authenticating user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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 blocks/blocking | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getMutesIDs-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMutesIDs</h4>
- <pre><a href="../../twitter4j/IDs.html" title="interface in twitter4j">IDs</a> getMutesIDs(long cursor)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>Returns an array of numeric user ids the authenticating user is muting.</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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 blocks/ids | Twitter Developers</a></dd>
- </dl>
- </li>
- </ul>
- <a name="createMute-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>createMute</h4>
- <pre><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> createMute(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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 user_id of the user to mute</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the muted user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the muted user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> destroyMute(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the unmuted user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the unmuted user</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> lookupUsers(long... ids)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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 IDs of the users to return.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>users</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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 return.</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>users</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> showUser(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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 detail</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>users</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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/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><a href="../../twitter4j/User.html" title="interface in twitter4j">User</a> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>User</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>the list of Users matches the provided</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> getContributees(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>list of contributors</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>list of contributors</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> getContributors(long userId)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>list of contributors</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a><<a href="../../twitter4j/User.html" title="interface in twitter4j">User</a>> 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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="returnLabel">Returns:</span></dt>
- <dd>list of contributors</dd>
- <dt><span class="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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()
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</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/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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable,
- or when the specified file is not found (FileNotFoundException will be nested),
- or when the specified file object in not representing a file (IOException will be nested)</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)
- throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></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="throwsLabel">Throws:</span></dt>
- <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable,
- or when the specified file is not found (FileNotFoundException will be nested),
- or when the specified file object in not representing a file (IOException will be nested)</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>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <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/UsersResources.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/TweetsResources.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/UsersResources.html" target="_top">Frames</a></li>
- <li><a href="UsersResources.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"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </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>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <p class="legalCopy"><small>Copyright © 2018. All rights reserved.</small></p>
- </body>
- </html>
|