FriendsFollowersResourcesAsync.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_161) on Thu Aug 16 18:54:18 JST 2018 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>FriendsFollowersResourcesAsync (twitter4j-async 4.0.7 API)</title>
  8. <meta name="date" content="2018-08-16">
  9. <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
  10. <script type="text/javascript" src="../../script.js"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="FriendsFollowersResourcesAsync (twitter4j-async 4.0.7 API)";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. 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};
  23. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
  24. var altColor = "altColor";
  25. var rowColor = "rowColor";
  26. var tableTab = "tableTab";
  27. var activeTableTab = "activeTableTab";
  28. </script>
  29. <noscript>
  30. <div>JavaScript is disabled on your browser.</div>
  31. </noscript>
  32. <!-- ========= START OF TOP NAVBAR ======= -->
  33. <div class="topNav"><a name="navbar.top">
  34. <!-- -->
  35. </a>
  36. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  37. <a name="navbar.top.firstrow">
  38. <!-- -->
  39. </a>
  40. <ul class="navList" title="Navigation">
  41. <li><a href="../../overview-summary.html">Overview</a></li>
  42. <li><a href="package-summary.html">Package</a></li>
  43. <li class="navBarCell1Rev">Class</li>
  44. <li><a href="class-use/FriendsFollowersResourcesAsync.html">Use</a></li>
  45. <li><a href="package-tree.html">Tree</a></li>
  46. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  47. <li><a href="../../index-all.html">Index</a></li>
  48. <li><a href="../../help-doc.html">Help</a></li>
  49. </ul>
  50. </div>
  51. <div class="subNav">
  52. <ul class="navList">
  53. <li><a href="../../twitter4j/api/FavoritesResourcesAsync.html" title="interface in twitter4j.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  54. <li><a href="../../twitter4j/api/HelpResourcesAsync.html" title="interface in twitter4j.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  55. </ul>
  56. <ul class="navList">
  57. <li><a href="../../index.html?twitter4j/api/FriendsFollowersResourcesAsync.html" target="_top">Frames</a></li>
  58. <li><a href="FriendsFollowersResourcesAsync.html" target="_top">No&nbsp;Frames</a></li>
  59. </ul>
  60. <ul class="navList" id="allclasses_navbar_top">
  61. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  62. </ul>
  63. <div>
  64. <script type="text/javascript"><!--
  65. allClassesLink = document.getElementById("allclasses_navbar_top");
  66. if(window==top) {
  67. allClassesLink.style.display = "block";
  68. }
  69. else {
  70. allClassesLink.style.display = "none";
  71. }
  72. //-->
  73. </script>
  74. </div>
  75. <div>
  76. <ul class="subNavList">
  77. <li>Summary:&nbsp;</li>
  78. <li>Nested&nbsp;|&nbsp;</li>
  79. <li>Field&nbsp;|&nbsp;</li>
  80. <li>Constr&nbsp;|&nbsp;</li>
  81. <li><a href="#method.summary">Method</a></li>
  82. </ul>
  83. <ul class="subNavList">
  84. <li>Detail:&nbsp;</li>
  85. <li>Field&nbsp;|&nbsp;</li>
  86. <li>Constr&nbsp;|&nbsp;</li>
  87. <li><a href="#method.detail">Method</a></li>
  88. </ul>
  89. </div>
  90. <a name="skip.navbar.top">
  91. <!-- -->
  92. </a></div>
  93. <!-- ========= END OF TOP NAVBAR ========= -->
  94. <!-- ======== START OF CLASS DATA ======== -->
  95. <div class="header">
  96. <div class="subTitle">twitter4j.api</div>
  97. <h2 title="Interface FriendsFollowersResourcesAsync" class="title">Interface FriendsFollowersResourcesAsync</h2>
  98. </div>
  99. <div class="contentContainer">
  100. <div class="description">
  101. <ul class="blockList">
  102. <li class="blockList">
  103. <dl>
  104. <dt>All Known Subinterfaces:</dt>
  105. <dd><a href="../../twitter4j/AsyncTwitter.html" title="interface in twitter4j">AsyncTwitter</a></dd>
  106. </dl>
  107. <hr>
  108. <br>
  109. <pre>public interface <span class="typeNameLabel">FriendsFollowersResourcesAsync</span></pre>
  110. <dl>
  111. <dt><span class="simpleTagLabel">Author:</span></dt>
  112. <dd>Joern Huxhorn - jhuxhorn at googlemail.com</dd>
  113. </dl>
  114. </li>
  115. </ul>
  116. </div>
  117. <div class="summary">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <!-- ========== METHOD SUMMARY =========== -->
  121. <ul class="blockList">
  122. <li class="blockList"><a name="method.summary">
  123. <!-- -->
  124. </a>
  125. <h3>Method Summary</h3>
  126. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  127. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  128. <tr>
  129. <th class="colFirst" scope="col">Modifier and Type</th>
  130. <th class="colLast" scope="col">Method and Description</th>
  131. </tr>
  132. <tr id="i0" class="altColor">
  133. <td class="colFirst"><code>void</code></td>
  134. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship-long-">createFriendship</a></span>(long&nbsp;userId)</code>
  135. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  136. Returns the befriended user in the requested format when successful.</div>
  137. </td>
  138. </tr>
  139. <tr id="i1" class="rowColor">
  140. <td class="colFirst"><code>void</code></td>
  141. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship-long-boolean-">createFriendship</a></span>(long&nbsp;userId,
  142. boolean&nbsp;follow)</code>
  143. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  144. Returns the befriended user in the requested format when successful.</div>
  145. </td>
  146. </tr>
  147. <tr id="i2" class="altColor">
  148. <td class="colFirst"><code>void</code></td>
  149. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship-java.lang.String-">createFriendship</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>&nbsp;screenName)</code>
  150. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  151. Returns the befriended user in the requested format when successful.</div>
  152. </td>
  153. </tr>
  154. <tr id="i3" class="rowColor">
  155. <td class="colFirst"><code>void</code></td>
  156. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship-java.lang.String-boolean-">createFriendship</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>&nbsp;screenName,
  157. boolean&nbsp;follow)</code>
  158. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  159. Returns the befriended user in the requested format when successful.</div>
  160. </td>
  161. </tr>
  162. <tr id="i4" class="altColor">
  163. <td class="colFirst"><code>void</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#destroyFriendship-long-">destroyFriendship</a></span>(long&nbsp;userId)</code>
  165. <div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
  166. Returns the unfollowed user in the requested format when successful.</div>
  167. </td>
  168. </tr>
  169. <tr id="i5" class="rowColor">
  170. <td class="colFirst"><code>void</code></td>
  171. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#destroyFriendship-java.lang.String-">destroyFriendship</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>&nbsp;screenName)</code>
  172. <div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
  173. Returns the unfollowed user in the requested format when successful.</div>
  174. </td>
  175. </tr>
  176. <tr id="i6" class="altColor">
  177. <td class="colFirst"><code>void</code></td>
  178. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersIDs-long-">getFollowersIDs</a></span>(long&nbsp;cursor)</code>
  179. <div class="block">Returns an array of numeric IDs for every user the specified user is followed by.</div>
  180. </td>
  181. </tr>
  182. <tr id="i7" class="rowColor">
  183. <td class="colFirst"><code>void</code></td>
  184. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersIDs-long-long-">getFollowersIDs</a></span>(long&nbsp;userId,
  185. long&nbsp;cursor)</code>
  186. <div class="block">Returns an array of numeric IDs for every user the specified user is followed by.</div>
  187. </td>
  188. </tr>
  189. <tr id="i8" class="altColor">
  190. <td class="colFirst"><code>void</code></td>
  191. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersIDs-java.lang.String-long-">getFollowersIDs</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>&nbsp;screenName,
  192. long&nbsp;cursor)</code>
  193. <div class="block">Returns an array of numeric IDs for every user the specified user is followed by.</div>
  194. </td>
  195. </tr>
  196. <tr id="i9" class="rowColor">
  197. <td class="colFirst"><code>void</code></td>
  198. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersList-long-long-">getFollowersList</a></span>(long&nbsp;userId,
  199. long&nbsp;cursor)</code>
  200. <div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
  201. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.</div>
  202. </td>
  203. </tr>
  204. <tr id="i10" class="altColor">
  205. <td class="colFirst"><code>void</code></td>
  206. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersList-java.lang.String-long-">getFollowersList</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>&nbsp;screenName,
  207. long&nbsp;cursor)</code>
  208. <div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
  209. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.</div>
  210. </td>
  211. </tr>
  212. <tr id="i11" class="rowColor">
  213. <td class="colFirst"><code>void</code></td>
  214. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsIDs-long-">getFriendsIDs</a></span>(long&nbsp;cursor)</code>
  215. <div class="block">Returns an array of numeric IDs for every user the authenticating user is following.</div>
  216. </td>
  217. </tr>
  218. <tr id="i12" class="altColor">
  219. <td class="colFirst"><code>void</code></td>
  220. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsIDs-long-long-">getFriendsIDs</a></span>(long&nbsp;userId,
  221. long&nbsp;cursor)</code>
  222. <div class="block">Returns an array of numeric IDs for every user the specified user is following.</div>
  223. </td>
  224. </tr>
  225. <tr id="i13" class="rowColor">
  226. <td class="colFirst"><code>void</code></td>
  227. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsIDs-java.lang.String-long-">getFriendsIDs</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>&nbsp;screenName,
  228. long&nbsp;cursor)</code>
  229. <div class="block">Returns an array of numeric IDs for every user the specified user is following.</div>
  230. </td>
  231. </tr>
  232. <tr id="i14" class="altColor">
  233. <td class="colFirst"><code>void</code></td>
  234. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsList-long-long-">getFriendsList</a></span>(long&nbsp;userId,
  235. long&nbsp;cursor)</code>
  236. <div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
  237. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.</div>
  238. </td>
  239. </tr>
  240. <tr id="i15" class="rowColor">
  241. <td class="colFirst"><code>void</code></td>
  242. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsList-java.lang.String-long-">getFriendsList</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>&nbsp;screenName,
  243. long&nbsp;cursor)</code>
  244. <div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
  245. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.</div>
  246. </td>
  247. </tr>
  248. <tr id="i16" class="altColor">
  249. <td class="colFirst"><code>void</code></td>
  250. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getIncomingFriendships-long-">getIncomingFriendships</a></span>(long&nbsp;cursor)</code>
  251. <div class="block">Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.</div>
  252. </td>
  253. </tr>
  254. <tr id="i17" class="rowColor">
  255. <td class="colFirst"><code>void</code></td>
  256. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getOutgoingFriendships-long-">getOutgoingFriendships</a></span>(long&nbsp;cursor)</code>
  257. <div class="block">Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.</div>
  258. </td>
  259. </tr>
  260. <tr id="i18" class="altColor">
  261. <td class="colFirst"><code>void</code></td>
  262. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#lookupFriendships-long...-">lookupFriendships</a></span>(long...&nbsp;ids)</code>
  263. <div class="block">Returns the relationship of the authenticating user to the specified users.</div>
  264. </td>
  265. </tr>
  266. <tr id="i19" class="rowColor">
  267. <td class="colFirst"><code>void</code></td>
  268. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#lookupFriendships-java.lang.String...-">lookupFriendships</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>...&nbsp;screenNames)</code>
  269. <div class="block">Returns the relationship of the authenticating user to the specified users.</div>
  270. </td>
  271. </tr>
  272. <tr id="i20" class="altColor">
  273. <td class="colFirst"><code>void</code></td>
  274. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#showFriendship-long-long-">showFriendship</a></span>(long&nbsp;sourceId,
  275. long&nbsp;targetId)</code>
  276. <div class="block">Returns detailed information about the relationship between two users.</div>
  277. </td>
  278. </tr>
  279. <tr id="i21" class="rowColor">
  280. <td class="colFirst"><code>void</code></td>
  281. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#showFriendship-java.lang.String-java.lang.String-">showFriendship</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>&nbsp;sourceScreenName,
  282. <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>&nbsp;targetScreenName)</code>
  283. <div class="block">Returns detailed information about the relationship between two users.</div>
  284. </td>
  285. </tr>
  286. <tr id="i22" class="altColor">
  287. <td class="colFirst"><code>void</code></td>
  288. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#updateFriendship-long-boolean-boolean-">updateFriendship</a></span>(long&nbsp;userId,
  289. boolean&nbsp;enableDeviceNotification,
  290. boolean&nbsp;retweets)</code>
  291. <div class="block">Allows you to enable or disable retweets and device notifications from the specified user.</div>
  292. </td>
  293. </tr>
  294. <tr id="i23" class="rowColor">
  295. <td class="colFirst"><code>void</code></td>
  296. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#updateFriendship-java.lang.String-boolean-boolean-">updateFriendship</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>&nbsp;screenName,
  297. boolean&nbsp;enableDeviceNotification,
  298. boolean&nbsp;retweets)</code>
  299. <div class="block">Allows you to enable or disable retweets and device notifications from the specified user.</div>
  300. </td>
  301. </tr>
  302. </table>
  303. </li>
  304. </ul>
  305. </li>
  306. </ul>
  307. </div>
  308. <div class="details">
  309. <ul class="blockList">
  310. <li class="blockList">
  311. <!-- ============ METHOD DETAIL ========== -->
  312. <ul class="blockList">
  313. <li class="blockList"><a name="method.detail">
  314. <!-- -->
  315. </a>
  316. <h3>Method Detail</h3>
  317. <a name="getFriendsIDs-long-">
  318. <!-- -->
  319. </a>
  320. <ul class="blockList">
  321. <li class="blockList">
  322. <h4>getFriendsIDs</h4>
  323. <pre>void&nbsp;getFriendsIDs(long&nbsp;cursor)</pre>
  324. <div class="block">Returns an array of numeric IDs for every user the authenticating user is following.
  325. <br>This method calls https://api.twitter.com/1.1/friends/ids.json</div>
  326. <dl>
  327. <dt><span class="paramLabel">Parameters:</span></dt>
  328. <dd><code>cursor</code> - Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.</dd>
  329. <dt><span class="simpleTagLabel">Since:</span></dt>
  330. <dd>Twitter4J 2.0.10</dd>
  331. <dt><span class="seeLabel">See Also:</span></dt>
  332. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/ids">GET friends/ids | Twitter Developers</a></dd>
  333. </dl>
  334. </li>
  335. </ul>
  336. <a name="getFriendsIDs-long-long-">
  337. <!-- -->
  338. </a>
  339. <ul class="blockList">
  340. <li class="blockList">
  341. <h4>getFriendsIDs</h4>
  342. <pre>void&nbsp;getFriendsIDs(long&nbsp;userId,
  343. long&nbsp;cursor)</pre>
  344. <div class="block">Returns an array of numeric IDs for every user the specified user is following.
  345. <br>This method calls https://api.twitter.com/1.1/friends/ids.json</div>
  346. <dl>
  347. <dt><span class="paramLabel">Parameters:</span></dt>
  348. <dd><code>userId</code> - Specifies the ID of the user for whom to return the friends list.</dd>
  349. <dd><code>cursor</code> - Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.</dd>
  350. <dt><span class="simpleTagLabel">Since:</span></dt>
  351. <dd>Twitter4J 2.0.10</dd>
  352. <dt><span class="seeLabel">See Also:</span></dt>
  353. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/ids">GET friends/ids | Twitter Developers</a></dd>
  354. </dl>
  355. </li>
  356. </ul>
  357. <a name="getFriendsIDs-java.lang.String-long-">
  358. <!-- -->
  359. </a>
  360. <ul class="blockList">
  361. <li class="blockList">
  362. <h4>getFriendsIDs</h4>
  363. <pre>void&nbsp;getFriendsIDs(<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>&nbsp;screenName,
  364. long&nbsp;cursor)</pre>
  365. <div class="block">Returns an array of numeric IDs for every user the specified user is following.
  366. <br>This method calls https://api.twitter.com/1.1/friends/ids.json</div>
  367. <dl>
  368. <dt><span class="paramLabel">Parameters:</span></dt>
  369. <dd><code>screenName</code> - Specifies the screen name of the user for whom to return the friends list.</dd>
  370. <dd><code>cursor</code> - Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.</dd>
  371. <dt><span class="simpleTagLabel">Since:</span></dt>
  372. <dd>Twitter4J 2.0.10</dd>
  373. <dt><span class="seeLabel">See Also:</span></dt>
  374. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/ids">GET friends/ids | Twitter Developers</a></dd>
  375. </dl>
  376. </li>
  377. </ul>
  378. <a name="getFollowersIDs-long-">
  379. <!-- -->
  380. </a>
  381. <ul class="blockList">
  382. <li class="blockList">
  383. <h4>getFollowersIDs</h4>
  384. <pre>void&nbsp;getFollowersIDs(long&nbsp;cursor)</pre>
  385. <div class="block">Returns an array of numeric IDs for every user the specified user is followed by.
  386. <br>This method calls https://api.twitter.com/1.1/followers/ids.json</div>
  387. <dl>
  388. <dt><span class="paramLabel">Parameters:</span></dt>
  389. <dd><code>cursor</code> - Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.</dd>
  390. <dt><span class="simpleTagLabel">Since:</span></dt>
  391. <dd>Twitter4J 2.0.10</dd>
  392. <dt><span class="seeLabel">See Also:</span></dt>
  393. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/ids">GET followers/ids | Twitter Developers</a></dd>
  394. </dl>
  395. </li>
  396. </ul>
  397. <a name="getFollowersIDs-long-long-">
  398. <!-- -->
  399. </a>
  400. <ul class="blockList">
  401. <li class="blockList">
  402. <h4>getFollowersIDs</h4>
  403. <pre>void&nbsp;getFollowersIDs(long&nbsp;userId,
  404. long&nbsp;cursor)</pre>
  405. <div class="block">Returns an array of numeric IDs for every user the specified user is followed by.
  406. <br>This method calls https://api.twitter.com/1.1/followers/ids.json</div>
  407. <dl>
  408. <dt><span class="paramLabel">Parameters:</span></dt>
  409. <dd><code>userId</code> - Specifies the ID of the user for whom to return the followers list.</dd>
  410. <dd><code>cursor</code> - Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.</dd>
  411. <dt><span class="simpleTagLabel">Since:</span></dt>
  412. <dd>Twitter4J 2.0.10</dd>
  413. <dt><span class="seeLabel">See Also:</span></dt>
  414. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/ids">GET followers/ids | Twitter Developers</a></dd>
  415. </dl>
  416. </li>
  417. </ul>
  418. <a name="getFollowersIDs-java.lang.String-long-">
  419. <!-- -->
  420. </a>
  421. <ul class="blockList">
  422. <li class="blockList">
  423. <h4>getFollowersIDs</h4>
  424. <pre>void&nbsp;getFollowersIDs(<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>&nbsp;screenName,
  425. long&nbsp;cursor)</pre>
  426. <div class="block">Returns an array of numeric IDs for every user the specified user is followed by.
  427. <br>This method calls https://api.twitter.com/1.1/followers/ids.json</div>
  428. <dl>
  429. <dt><span class="paramLabel">Parameters:</span></dt>
  430. <dd><code>screenName</code> - Specifies the screen name of the user for whom to return the followers list.</dd>
  431. <dd><code>cursor</code> - Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.</dd>
  432. <dt><span class="simpleTagLabel">Since:</span></dt>
  433. <dd>Twitter4J 2.0.10</dd>
  434. <dt><span class="seeLabel">See Also:</span></dt>
  435. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/ids">GET followers/ids | Twitter Developers</a></dd>
  436. </dl>
  437. </li>
  438. </ul>
  439. <a name="lookupFriendships-long...-">
  440. <!-- -->
  441. </a>
  442. <ul class="blockList">
  443. <li class="blockList">
  444. <h4>lookupFriendships</h4>
  445. <pre>void&nbsp;lookupFriendships(long...&nbsp;ids)</pre>
  446. <div class="block">Returns the relationship of the authenticating user to the specified users.
  447. <br>This method has not been finalized and the interface is subject to change in incompatible ways.
  448. <br>This method calls https://api.twitter.com/1.1/friendships/lookup.json</div>
  449. <dl>
  450. <dt><span class="paramLabel">Parameters:</span></dt>
  451. <dd><code>ids</code> - array of the ids to lookup</dd>
  452. <dt><span class="simpleTagLabel">Since:</span></dt>
  453. <dd>Twitter4J 2.1.9</dd>
  454. <dt><span class="seeLabel">See Also:</span></dt>
  455. <dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd>
  456. </dl>
  457. </li>
  458. </ul>
  459. <a name="lookupFriendships-java.lang.String...-">
  460. <!-- -->
  461. </a>
  462. <ul class="blockList">
  463. <li class="blockList">
  464. <h4>lookupFriendships</h4>
  465. <pre>void&nbsp;lookupFriendships(<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>...&nbsp;screenNames)</pre>
  466. <div class="block">Returns the relationship of the authenticating user to the specified users.
  467. <br>This method has not been finalized and the interface is subject to change in incompatible ways.
  468. <br>This method calls https://api.twitter.com/1.1/friendships/lookup.json</div>
  469. <dl>
  470. <dt><span class="paramLabel">Parameters:</span></dt>
  471. <dd><code>screenNames</code> - array of the screen names to lookup</dd>
  472. <dt><span class="simpleTagLabel">Since:</span></dt>
  473. <dd>Twitter4J 2.1.9</dd>
  474. <dt><span class="seeLabel">See Also:</span></dt>
  475. <dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd>
  476. </dl>
  477. </li>
  478. </ul>
  479. <a name="getIncomingFriendships-long-">
  480. <!-- -->
  481. </a>
  482. <ul class="blockList">
  483. <li class="blockList">
  484. <h4>getIncomingFriendships</h4>
  485. <pre>void&nbsp;getIncomingFriendships(long&nbsp;cursor)</pre>
  486. <div class="block">Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.
  487. <br>This method calls https://api.twitter.com/1.1/friendships/incoming.json</div>
  488. <dl>
  489. <dt><span class="paramLabel">Parameters:</span></dt>
  490. <dd><code>cursor</code> - Breaks the results into pages. A single page contains 5000 identifiers. Provide a value of -1 to begin paging.</dd>
  491. <dt><span class="simpleTagLabel">Since:</span></dt>
  492. <dd>Twitter4J 2.1.2</dd>
  493. <dt><span class="seeLabel">See Also:</span></dt>
  494. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/incoming">GET friendships/incoming | Twitter Developers</a></dd>
  495. </dl>
  496. </li>
  497. </ul>
  498. <a name="getOutgoingFriendships-long-">
  499. <!-- -->
  500. </a>
  501. <ul class="blockList">
  502. <li class="blockList">
  503. <h4>getOutgoingFriendships</h4>
  504. <pre>void&nbsp;getOutgoingFriendships(long&nbsp;cursor)</pre>
  505. <div class="block">Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
  506. <br>This method calls https://api.twitter.com/1.1/friendships/outgoing.json</div>
  507. <dl>
  508. <dt><span class="paramLabel">Parameters:</span></dt>
  509. <dd><code>cursor</code> - Breaks the results into pages. A single page contains 5000 identifiers. Provide a value of -1 to begin paging.</dd>
  510. <dt><span class="simpleTagLabel">Since:</span></dt>
  511. <dd>Twitter4J 2.1.2</dd>
  512. <dt><span class="seeLabel">See Also:</span></dt>
  513. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/outgoing">GET friendships/outgoing | Twitter Developers</a></dd>
  514. </dl>
  515. </li>
  516. </ul>
  517. <a name="createFriendship-long-">
  518. <!-- -->
  519. </a>
  520. <ul class="blockList">
  521. <li class="blockList">
  522. <h4>createFriendship</h4>
  523. <pre>void&nbsp;createFriendship(long&nbsp;userId)</pre>
  524. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  525. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. If you are already friends with the user an HTTP 403 will be returned.
  526. <br>This method calls https://api.twitter.com/1.1/friendships/create</div>
  527. <dl>
  528. <dt><span class="paramLabel">Parameters:</span></dt>
  529. <dd><code>userId</code> - the ID of the user to be befriended</dd>
  530. <dt><span class="simpleTagLabel">Since:</span></dt>
  531. <dd>Twitter4J 2.1.0</dd>
  532. <dt><span class="seeLabel">See Also:</span></dt>
  533. <dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd>
  534. </dl>
  535. </li>
  536. </ul>
  537. <a name="createFriendship-java.lang.String-">
  538. <!-- -->
  539. </a>
  540. <ul class="blockList">
  541. <li class="blockList">
  542. <h4>createFriendship</h4>
  543. <pre>void&nbsp;createFriendship(<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>&nbsp;screenName)</pre>
  544. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  545. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. If you are already friends with the user an HTTP 403 will be returned.
  546. <br>This method calls https://api.twitter.com/1.1/friendships/create</div>
  547. <dl>
  548. <dt><span class="paramLabel">Parameters:</span></dt>
  549. <dd><code>screenName</code> - the screen name of the user to be befriended</dd>
  550. <dt><span class="simpleTagLabel">Since:</span></dt>
  551. <dd>Twitter4J 2.0.1</dd>
  552. <dt><span class="seeLabel">See Also:</span></dt>
  553. <dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd>
  554. </dl>
  555. </li>
  556. </ul>
  557. <a name="createFriendship-long-boolean-">
  558. <!-- -->
  559. </a>
  560. <ul class="blockList">
  561. <li class="blockList">
  562. <h4>createFriendship</h4>
  563. <pre>void&nbsp;createFriendship(long&nbsp;userId,
  564. boolean&nbsp;follow)</pre>
  565. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  566. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. If you are already friends with the user an HTTP 403 will be returned.
  567. <br>This method calls https://api.twitter.com/1.1/friendships/create</div>
  568. <dl>
  569. <dt><span class="paramLabel">Parameters:</span></dt>
  570. <dd><code>userId</code> - the ID of the user to be befriended</dd>
  571. <dd><code>follow</code> - Enable notifications for the target user in addition to becoming friends.</dd>
  572. <dt><span class="simpleTagLabel">Since:</span></dt>
  573. <dd>Twitter4J 2.1.0</dd>
  574. <dt><span class="seeLabel">See Also:</span></dt>
  575. <dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd>
  576. </dl>
  577. </li>
  578. </ul>
  579. <a name="createFriendship-java.lang.String-boolean-">
  580. <!-- -->
  581. </a>
  582. <ul class="blockList">
  583. <li class="blockList">
  584. <h4>createFriendship</h4>
  585. <pre>void&nbsp;createFriendship(<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>&nbsp;screenName,
  586. boolean&nbsp;follow)</pre>
  587. <div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
  588. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. If you are already friends with the user an HTTP 403 will be returned.
  589. <br>This method calls https://api.twitter.com/1.1/friendships/create</div>
  590. <dl>
  591. <dt><span class="paramLabel">Parameters:</span></dt>
  592. <dd><code>screenName</code> - the screen name of the user to be befriended</dd>
  593. <dd><code>follow</code> - Enable notifications for the target user in addition to becoming friends.</dd>
  594. <dt><span class="simpleTagLabel">Since:</span></dt>
  595. <dd>Twitter4J 2.0.1</dd>
  596. <dt><span class="seeLabel">See Also:</span></dt>
  597. <dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd>
  598. </dl>
  599. </li>
  600. </ul>
  601. <a name="destroyFriendship-long-">
  602. <!-- -->
  603. </a>
  604. <ul class="blockList">
  605. <li class="blockList">
  606. <h4>destroyFriendship</h4>
  607. <pre>void&nbsp;destroyFriendship(long&nbsp;userId)</pre>
  608. <div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
  609. Returns the unfollowed user in the requested format when successful. Returns a string describing the failure condition when unsuccessful.
  610. <br>This method calls https://api.twitter.com/1.1/friendships/destroy</div>
  611. <dl>
  612. <dt><span class="paramLabel">Parameters:</span></dt>
  613. <dd><code>userId</code> - the screen name of the user to be befriended</dd>
  614. <dt><span class="simpleTagLabel">Since:</span></dt>
  615. <dd>Twitter4J 2.1.0</dd>
  616. <dt><span class="seeLabel">See Also:</span></dt>
  617. <dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/destroy">POST friendships/destroy | Twitter Developers</a></dd>
  618. </dl>
  619. </li>
  620. </ul>
  621. <a name="destroyFriendship-java.lang.String-">
  622. <!-- -->
  623. </a>
  624. <ul class="blockList">
  625. <li class="blockList">
  626. <h4>destroyFriendship</h4>
  627. <pre>void&nbsp;destroyFriendship(<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>&nbsp;screenName)</pre>
  628. <div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
  629. Returns the unfollowed user in the requested format when successful. Returns a string describing the failure condition when unsuccessful.
  630. <br>This method calls https://api.twitter.com/1.1/friendships/destroy</div>
  631. <dl>
  632. <dt><span class="paramLabel">Parameters:</span></dt>
  633. <dd><code>screenName</code> - the screen name of the user to be befriended</dd>
  634. <dt><span class="simpleTagLabel">Since:</span></dt>
  635. <dd>Twitter4J 2.0.1</dd>
  636. <dt><span class="seeLabel">See Also:</span></dt>
  637. <dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/destroy">POST friendships/destroy | Twitter Developers</a></dd>
  638. </dl>
  639. </li>
  640. </ul>
  641. <a name="updateFriendship-long-boolean-boolean-">
  642. <!-- -->
  643. </a>
  644. <ul class="blockList">
  645. <li class="blockList">
  646. <h4>updateFriendship</h4>
  647. <pre>void&nbsp;updateFriendship(long&nbsp;userId,
  648. boolean&nbsp;enableDeviceNotification,
  649. boolean&nbsp;retweets)</pre>
  650. <div class="block">Allows you to enable or disable retweets and device notifications from the specified user.
  651. <br>This method has not been finalized and the interface is subject to change in incompatible ways.
  652. <br>This method calls https://api.twitter.com/1.1/friendships/update.json</div>
  653. <dl>
  654. <dt><span class="paramLabel">Parameters:</span></dt>
  655. <dd><code>userId</code> - user id to update</dd>
  656. <dd><code>enableDeviceNotification</code> - set true to enable device notification</dd>
  657. <dd><code>retweets</code> - set true to enable retweets</dd>
  658. <dt><span class="simpleTagLabel">Since:</span></dt>
  659. <dd>Twitter4J 2.1.9</dd>
  660. <dt><span class="seeLabel">See Also:</span></dt>
  661. <dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd>
  662. </dl>
  663. </li>
  664. </ul>
  665. <a name="updateFriendship-java.lang.String-boolean-boolean-">
  666. <!-- -->
  667. </a>
  668. <ul class="blockList">
  669. <li class="blockList">
  670. <h4>updateFriendship</h4>
  671. <pre>void&nbsp;updateFriendship(<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>&nbsp;screenName,
  672. boolean&nbsp;enableDeviceNotification,
  673. boolean&nbsp;retweets)</pre>
  674. <div class="block">Allows you to enable or disable retweets and device notifications from the specified user.
  675. <br>This method has not been finalized and the interface is subject to change in incompatible ways.
  676. <br>This method calls https://api.twitter.com/1.1/friendships/update.json</div>
  677. <dl>
  678. <dt><span class="paramLabel">Parameters:</span></dt>
  679. <dd><code>screenName</code> - screen name to update</dd>
  680. <dd><code>enableDeviceNotification</code> - set true to enable device notification</dd>
  681. <dd><code>retweets</code> - set true to enable retweets</dd>
  682. <dt><span class="simpleTagLabel">Since:</span></dt>
  683. <dd>Twitter4J 2.1.9</dd>
  684. <dt><span class="seeLabel">See Also:</span></dt>
  685. <dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd>
  686. </dl>
  687. </li>
  688. </ul>
  689. <a name="showFriendship-long-long-">
  690. <!-- -->
  691. </a>
  692. <ul class="blockList">
  693. <li class="blockList">
  694. <h4>showFriendship</h4>
  695. <pre>void&nbsp;showFriendship(long&nbsp;sourceId,
  696. long&nbsp;targetId)</pre>
  697. <div class="block">Returns detailed information about the relationship between two users.
  698. <br>This method calls https://api.twitter.com/1.1/friendships/show.json</div>
  699. <dl>
  700. <dt><span class="paramLabel">Parameters:</span></dt>
  701. <dd><code>sourceId</code> - the ID of the source user</dd>
  702. <dd><code>targetId</code> - the ID of the target user</dd>
  703. <dt><span class="simpleTagLabel">Since:</span></dt>
  704. <dd>Twitter4J 2.1.0</dd>
  705. <dt><span class="seeLabel">See Also:</span></dt>
  706. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/show">GET friendships/show | Twitter Developers</a></dd>
  707. </dl>
  708. </li>
  709. </ul>
  710. <a name="showFriendship-java.lang.String-java.lang.String-">
  711. <!-- -->
  712. </a>
  713. <ul class="blockList">
  714. <li class="blockList">
  715. <h4>showFriendship</h4>
  716. <pre>void&nbsp;showFriendship(<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>&nbsp;sourceScreenName,
  717. <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>&nbsp;targetScreenName)</pre>
  718. <div class="block">Returns detailed information about the relationship between two users.
  719. <br>This method calls https://api.twitter.com/1.1/friendships/show.json</div>
  720. <dl>
  721. <dt><span class="paramLabel">Parameters:</span></dt>
  722. <dd><code>sourceScreenName</code> - the screen name of the source user</dd>
  723. <dd><code>targetScreenName</code> - the screen name of the target user</dd>
  724. <dt><span class="simpleTagLabel">Since:</span></dt>
  725. <dd>Twitter4J 2.1.0</dd>
  726. <dt><span class="seeLabel">See Also:</span></dt>
  727. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/show">GET friendships/show | Twitter Developers</a></dd>
  728. </dl>
  729. </li>
  730. </ul>
  731. <a name="getFriendsList-long-long-">
  732. <!-- -->
  733. </a>
  734. <ul class="blockList">
  735. <li class="blockList">
  736. <h4>getFriendsList</h4>
  737. <pre>void&nbsp;getFriendsList(long&nbsp;userId,
  738. long&nbsp;cursor)</pre>
  739. <div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
  740. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See <a href="https://dev.twitter.com/docs/misc/cursoring">Using cursors to navigate collections</a> for more information.
  741. <br>This method calls https://api.twitter.com/1.1/friends/list.json</div>
  742. <dl>
  743. <dt><span class="paramLabel">Parameters:</span></dt>
  744. <dd><code>userId</code> - The ID of the user for whom to return results for.</dd>
  745. <dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd>
  746. <dt><span class="simpleTagLabel">Since:</span></dt>
  747. <dd>Twitter4J 3.0.2</dd>
  748. <dt><span class="seeLabel">See Also:</span></dt>
  749. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/list">GET friends/list | Twitter Developers</a></dd>
  750. </dl>
  751. </li>
  752. </ul>
  753. <a name="getFriendsList-java.lang.String-long-">
  754. <!-- -->
  755. </a>
  756. <ul class="blockList">
  757. <li class="blockList">
  758. <h4>getFriendsList</h4>
  759. <pre>void&nbsp;getFriendsList(<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>&nbsp;screenName,
  760. long&nbsp;cursor)</pre>
  761. <div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
  762. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See <a href="https://dev.twitter.com/docs/misc/cursoring">Using cursors to navigate collections</a> for more information.
  763. <br>This method calls https://api.twitter.com/1.1/friends/list.json</div>
  764. <dl>
  765. <dt><span class="paramLabel">Parameters:</span></dt>
  766. <dd><code>screenName</code> - The screen name of the user for whom to return results for.</dd>
  767. <dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd>
  768. <dt><span class="simpleTagLabel">Since:</span></dt>
  769. <dd>Twitter4J 3.0.2</dd>
  770. <dt><span class="seeLabel">See Also:</span></dt>
  771. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/list">GET friends/list | Twitter Developers</a></dd>
  772. </dl>
  773. </li>
  774. </ul>
  775. <a name="getFollowersList-long-long-">
  776. <!-- -->
  777. </a>
  778. <ul class="blockList">
  779. <li class="blockList">
  780. <h4>getFollowersList</h4>
  781. <pre>void&nbsp;getFollowersList(long&nbsp;userId,
  782. long&nbsp;cursor)</pre>
  783. <div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
  784. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See <a href="https://dev.twitter.com/docs/misc/cursoring">Using cursors to navigate collections</a> for more information.
  785. <br>This method calls https://api.twitter.com/1.1/followers/list.json</div>
  786. <dl>
  787. <dt><span class="paramLabel">Parameters:</span></dt>
  788. <dd><code>userId</code> - The ID of the user for whom to return results for.</dd>
  789. <dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd>
  790. <dt><span class="simpleTagLabel">Since:</span></dt>
  791. <dd>Twitter4J 3.0.2</dd>
  792. <dt><span class="seeLabel">See Also:</span></dt>
  793. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/list">GET followers/list | Twitter Developers</a></dd>
  794. </dl>
  795. </li>
  796. </ul>
  797. <a name="getFollowersList-java.lang.String-long-">
  798. <!-- -->
  799. </a>
  800. <ul class="blockListLast">
  801. <li class="blockList">
  802. <h4>getFollowersList</h4>
  803. <pre>void&nbsp;getFollowersList(<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>&nbsp;screenName,
  804. long&nbsp;cursor)</pre>
  805. <div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
  806. At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues. Results are given in groups of 20 users and multiple "pages" of results can be navigated through using the next_cursor value in subsequent requests. See <a href="https://dev.twitter.com/docs/misc/cursoring">Using cursors to navigate collections</a> for more information.
  807. <br>This method calls https://api.twitter.com/1.1/followers/list.json</div>
  808. <dl>
  809. <dt><span class="paramLabel">Parameters:</span></dt>
  810. <dd><code>screenName</code> - The screen name of the user for whom to return results for.</dd>
  811. <dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd>
  812. <dt><span class="simpleTagLabel">Since:</span></dt>
  813. <dd>Twitter4J 3.0.2</dd>
  814. <dt><span class="seeLabel">See Also:</span></dt>
  815. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/list">GET followers/list | Twitter Developers</a></dd>
  816. </dl>
  817. </li>
  818. </ul>
  819. </li>
  820. </ul>
  821. </li>
  822. </ul>
  823. </div>
  824. </div>
  825. <!-- ========= END OF CLASS DATA ========= -->
  826. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  827. <div class="bottomNav"><a name="navbar.bottom">
  828. <!-- -->
  829. </a>
  830. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  831. <a name="navbar.bottom.firstrow">
  832. <!-- -->
  833. </a>
  834. <ul class="navList" title="Navigation">
  835. <li><a href="../../overview-summary.html">Overview</a></li>
  836. <li><a href="package-summary.html">Package</a></li>
  837. <li class="navBarCell1Rev">Class</li>
  838. <li><a href="class-use/FriendsFollowersResourcesAsync.html">Use</a></li>
  839. <li><a href="package-tree.html">Tree</a></li>
  840. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  841. <li><a href="../../index-all.html">Index</a></li>
  842. <li><a href="../../help-doc.html">Help</a></li>
  843. </ul>
  844. </div>
  845. <div class="subNav">
  846. <ul class="navList">
  847. <li><a href="../../twitter4j/api/FavoritesResourcesAsync.html" title="interface in twitter4j.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  848. <li><a href="../../twitter4j/api/HelpResourcesAsync.html" title="interface in twitter4j.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  849. </ul>
  850. <ul class="navList">
  851. <li><a href="../../index.html?twitter4j/api/FriendsFollowersResourcesAsync.html" target="_top">Frames</a></li>
  852. <li><a href="FriendsFollowersResourcesAsync.html" target="_top">No&nbsp;Frames</a></li>
  853. </ul>
  854. <ul class="navList" id="allclasses_navbar_bottom">
  855. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  856. </ul>
  857. <div>
  858. <script type="text/javascript"><!--
  859. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  860. if(window==top) {
  861. allClassesLink.style.display = "block";
  862. }
  863. else {
  864. allClassesLink.style.display = "none";
  865. }
  866. //-->
  867. </script>
  868. </div>
  869. <div>
  870. <ul class="subNavList">
  871. <li>Summary:&nbsp;</li>
  872. <li>Nested&nbsp;|&nbsp;</li>
  873. <li>Field&nbsp;|&nbsp;</li>
  874. <li>Constr&nbsp;|&nbsp;</li>
  875. <li><a href="#method.summary">Method</a></li>
  876. </ul>
  877. <ul class="subNavList">
  878. <li>Detail:&nbsp;</li>
  879. <li>Field&nbsp;|&nbsp;</li>
  880. <li>Constr&nbsp;|&nbsp;</li>
  881. <li><a href="#method.detail">Method</a></li>
  882. </ul>
  883. </div>
  884. <a name="skip.navbar.bottom">
  885. <!-- -->
  886. </a></div>
  887. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  888. <p class="legalCopy"><small>Copyright &#169; 2018. All rights reserved.</small></p>
  889. </body>
  890. </html>