TimelinesResources.html 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  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:14 JST 2018 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>TimelinesResources (twitter4j-core 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="TimelinesResources (twitter4j-core 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};
  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/TimelinesResources.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/SuggestedUsersResources.html" title="interface in twitter4j.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  54. <li><a href="../../twitter4j/api/TrendsResources.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/TimelinesResources.html" target="_top">Frames</a></li>
  58. <li><a href="TimelinesResources.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 TimelinesResources" class="title">Interface TimelinesResources</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/Twitter.html" title="interface in twitter4j">Twitter</a></dd>
  106. </dl>
  107. <hr>
  108. <br>
  109. <pre>public interface <span class="typeNameLabel">TimelinesResources</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><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  134. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getHomeTimeline--">getHomeTimeline</a></span>()</code>
  135. <div class="block">Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.</div>
  136. </td>
  137. </tr>
  138. <tr id="i1" class="rowColor">
  139. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  140. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getHomeTimeline-twitter4j.Paging-">getHomeTimeline</a></span>(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)</code>
  141. <div class="block">Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.</div>
  142. </td>
  143. </tr>
  144. <tr id="i2" class="altColor">
  145. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  146. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getMentionsTimeline--">getMentionsTimeline</a></span>()</code>
  147. <div class="block">Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.<br>
  148. The timeline returned is the equivalent of the one seen when you view your mentions on twitter.com.<br>
  149. This method can only return up to 800 tweets.<br>
  150. See <a href="https://dev.twitter.com/docs/working-with-timelines">Working with Timelines</a> for instructions on traversing timelines.</div>
  151. </td>
  152. </tr>
  153. <tr id="i3" class="rowColor">
  154. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  155. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getMentionsTimeline-twitter4j.Paging-">getMentionsTimeline</a></span>(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)</code>
  156. <div class="block">Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.<br>
  157. The timeline returned is the equivalent of the one seen when you view your mentions on twitter.com.<br>
  158. This method can only return up to 800 tweets.<br>
  159. See <a href="https://dev.twitter.com/docs/working-with-timelines">Working with Timelines</a> for instructions on traversing timelines.</div>
  160. </td>
  161. </tr>
  162. <tr id="i4" class="altColor">
  163. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  164. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getRetweetsOfMe--">getRetweetsOfMe</a></span>()</code>
  165. <div class="block">Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.</div>
  166. </td>
  167. </tr>
  168. <tr id="i5" class="rowColor">
  169. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getRetweetsOfMe-twitter4j.Paging-">getRetweetsOfMe</a></span>(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)</code>
  171. <div class="block">Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.</div>
  172. </td>
  173. </tr>
  174. <tr id="i6" class="altColor">
  175. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  176. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getUserTimeline--">getUserTimeline</a></span>()</code>
  177. <div class="block">Returns the 20 most recent statuses posted from the authenticating user.</div>
  178. </td>
  179. </tr>
  180. <tr id="i7" class="rowColor">
  181. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  182. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getUserTimeline-long-">getUserTimeline</a></span>(long&nbsp;userId)</code>
  183. <div class="block">Returns the 20 most recent statuses posted from the authenticating user.</div>
  184. </td>
  185. </tr>
  186. <tr id="i8" class="altColor">
  187. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  188. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getUserTimeline-long-twitter4j.Paging-">getUserTimeline</a></span>(long&nbsp;userId,
  189. <a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)</code>
  190. <div class="block">Returns the 20 most recent statuses posted from the authenticating user.</div>
  191. </td>
  192. </tr>
  193. <tr id="i9" class="rowColor">
  194. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  195. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getUserTimeline-twitter4j.Paging-">getUserTimeline</a></span>(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)</code>
  196. <div class="block">Returns the 20 most recent statuses posted from the authenticating user.</div>
  197. </td>
  198. </tr>
  199. <tr id="i10" class="altColor">
  200. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  201. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getUserTimeline-java.lang.String-">getUserTimeline</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>
  202. <div class="block">Returns the 20 most recent statuses posted from the authenticating user.</div>
  203. </td>
  204. </tr>
  205. <tr id="i11" class="rowColor">
  206. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;</code></td>
  207. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/api/TimelinesResources.html#getUserTimeline-java.lang.String-twitter4j.Paging-">getUserTimeline</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,
  208. <a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)</code>
  209. <div class="block">Returns the 20 most recent statuses posted from the authenticating user.</div>
  210. </td>
  211. </tr>
  212. </table>
  213. </li>
  214. </ul>
  215. </li>
  216. </ul>
  217. </div>
  218. <div class="details">
  219. <ul class="blockList">
  220. <li class="blockList">
  221. <!-- ============ METHOD DETAIL ========== -->
  222. <ul class="blockList">
  223. <li class="blockList"><a name="method.detail">
  224. <!-- -->
  225. </a>
  226. <h3>Method Detail</h3>
  227. <a name="getMentionsTimeline--">
  228. <!-- -->
  229. </a>
  230. <ul class="blockList">
  231. <li class="blockList">
  232. <h4>getMentionsTimeline</h4>
  233. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getMentionsTimeline()
  234. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  235. <div class="block">Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.<br>
  236. The timeline returned is the equivalent of the one seen when you view your mentions on twitter.com.<br>
  237. This method can only return up to 800 tweets.<br>
  238. See <a href="https://dev.twitter.com/docs/working-with-timelines">Working with Timelines</a> for instructions on traversing timelines.
  239. <br>This method calls https://api.twitter.com/1.1/statuses/mentions_timeline</div>
  240. <dl>
  241. <dt><span class="returnLabel">Returns:</span></dt>
  242. <dd>the 20 most recent replies</dd>
  243. <dt><span class="throwsLabel">Throws:</span></dt>
  244. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  245. <dt><span class="simpleTagLabel">Since:</span></dt>
  246. <dd>Twitter4J 3.0.0</dd>
  247. <dt><span class="seeLabel">See Also:</span></dt>
  248. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/mentions">GET statuses/mentions | Twitter Developers</a></dd>
  249. </dl>
  250. </li>
  251. </ul>
  252. <a name="getMentionsTimeline-twitter4j.Paging-">
  253. <!-- -->
  254. </a>
  255. <ul class="blockList">
  256. <li class="blockList">
  257. <h4>getMentionsTimeline</h4>
  258. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getMentionsTimeline(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)
  259. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  260. <div class="block">Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.<br>
  261. The timeline returned is the equivalent of the one seen when you view your mentions on twitter.com.<br>
  262. This method can only return up to 800 tweets.<br>
  263. See <a href="https://dev.twitter.com/docs/working-with-timelines">Working with Timelines</a> for instructions on traversing timelines.
  264. <br>This method calls https://api.twitter.com/1.1/statuses/mentions_timeline</div>
  265. <dl>
  266. <dt><span class="paramLabel">Parameters:</span></dt>
  267. <dd><code>paging</code> - controls pagination. Supports since_id, max_id, zcount parameters.</dd>
  268. <dt><span class="returnLabel">Returns:</span></dt>
  269. <dd>the 20 most recent replies</dd>
  270. <dt><span class="throwsLabel">Throws:</span></dt>
  271. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  272. <dt><span class="simpleTagLabel">Since:</span></dt>
  273. <dd>Twitter4J 3.0.0</dd>
  274. <dt><span class="seeLabel">See Also:</span></dt>
  275. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/mentions">GET statuses/mentions | Twitter Developers</a></dd>
  276. </dl>
  277. </li>
  278. </ul>
  279. <a name="getUserTimeline-java.lang.String-twitter4j.Paging-">
  280. <!-- -->
  281. </a>
  282. <ul class="blockList">
  283. <li class="blockList">
  284. <h4>getUserTimeline</h4>
  285. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getUserTimeline(<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,
  286. <a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)
  287. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  288. <div class="block">Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter.<br>
  289. This is the equivalent of the Web / page for your own user, or the profile page for a third party.<br>
  290. For backwards compatibility reasons, retweets are stripped out of the user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and Atom). If you'd like them included, you can merge them in from statuses retweeted_by_me.<br>
  291. <br>This method calls https://api.twitter.com/1.1/statuses/user_timeline.json</div>
  292. <dl>
  293. <dt><span class="paramLabel">Parameters:</span></dt>
  294. <dd><code>screenName</code> - specifies the screen name of the user for whom to return the user_timeline</dd>
  295. <dd><code>paging</code> - controls pagination. Supports since_id, max_id, count and page parameters.</dd>
  296. <dt><span class="returnLabel">Returns:</span></dt>
  297. <dd>list of the user Timeline</dd>
  298. <dt><span class="throwsLabel">Throws:</span></dt>
  299. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  300. <dt><span class="simpleTagLabel">Since:</span></dt>
  301. <dd>Twitter4J 2.0.1</dd>
  302. <dt><span class="seeLabel">See Also:</span></dt>
  303. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline">GET statuses/user_timeline | Twitter Developers</a></dd>
  304. </dl>
  305. </li>
  306. </ul>
  307. <a name="getUserTimeline-long-twitter4j.Paging-">
  308. <!-- -->
  309. </a>
  310. <ul class="blockList">
  311. <li class="blockList">
  312. <h4>getUserTimeline</h4>
  313. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getUserTimeline(long&nbsp;userId,
  314. <a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)
  315. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  316. <div class="block">Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter.<br>
  317. This is the equivalent of the Web / page for your own user, or the profile page for a third party.<br>
  318. For backwards compatibility reasons, retweets are stripped out of the user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and Atom). If you'd like them included, you can merge them in from statuses retweeted_by_me.<br>
  319. <br>This method calls https://api.twitter.com/1.1/statuses/user_timeline.json</div>
  320. <dl>
  321. <dt><span class="paramLabel">Parameters:</span></dt>
  322. <dd><code>userId</code> - specifies the ID of the user for whom to return the user_timeline</dd>
  323. <dd><code>paging</code> - controls pagination. Supports since_id, max_id, count and page parameters.</dd>
  324. <dt><span class="returnLabel">Returns:</span></dt>
  325. <dd>list of the user Timeline</dd>
  326. <dt><span class="throwsLabel">Throws:</span></dt>
  327. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  328. <dt><span class="simpleTagLabel">Since:</span></dt>
  329. <dd>Twitter4J 2.1.0</dd>
  330. <dt><span class="seeLabel">See Also:</span></dt>
  331. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline">GET statuses/user_timeline | Twitter Developers</a></dd>
  332. </dl>
  333. </li>
  334. </ul>
  335. <a name="getUserTimeline-java.lang.String-">
  336. <!-- -->
  337. </a>
  338. <ul class="blockList">
  339. <li class="blockList">
  340. <h4>getUserTimeline</h4>
  341. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getUserTimeline(<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)
  342. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  343. <div class="block">Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter.<br>
  344. This is the equivalent of the Web / page for your own user, or the profile page for a third party.<br>
  345. For backwards compatibility reasons, retweets are stripped out of the user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and Atom). If you'd like them included, you can merge them in from statuses retweeted_by_me.<br>
  346. <br>This method calls https://api.twitter.com/1.1/statuses/user_timeline</div>
  347. <dl>
  348. <dt><span class="paramLabel">Parameters:</span></dt>
  349. <dd><code>screenName</code> - specifies the screen name of the user for whom to return the user_timeline</dd>
  350. <dt><span class="returnLabel">Returns:</span></dt>
  351. <dd>the 20 most recent statuses posted in the last 24 hours from the user</dd>
  352. <dt><span class="throwsLabel">Throws:</span></dt>
  353. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  354. <dt><span class="seeLabel">See Also:</span></dt>
  355. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline">GET statuses/user_timeline | Twitter Developers</a></dd>
  356. </dl>
  357. </li>
  358. </ul>
  359. <a name="getUserTimeline-long-">
  360. <!-- -->
  361. </a>
  362. <ul class="blockList">
  363. <li class="blockList">
  364. <h4>getUserTimeline</h4>
  365. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getUserTimeline(long&nbsp;userId)
  366. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  367. <div class="block">Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter.<br>
  368. This is the equivalent of the Web / page for your own user, or the profile page for a third party.<br>
  369. For backwards compatibility reasons, retweets are stripped out of the user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and Atom). If you'd like them included, you can merge them in from statuses retweeted_by_me.<br>
  370. <br>This method calls https://api.twitter.com/1.1/statuses/user_timeline</div>
  371. <dl>
  372. <dt><span class="paramLabel">Parameters:</span></dt>
  373. <dd><code>userId</code> - specifies the ID of the user for whom to return the user_timeline</dd>
  374. <dt><span class="returnLabel">Returns:</span></dt>
  375. <dd>the 20 most recent statuses posted in the last 24 hours from the user</dd>
  376. <dt><span class="throwsLabel">Throws:</span></dt>
  377. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  378. <dt><span class="simpleTagLabel">Since:</span></dt>
  379. <dd>Twitter4J 2.1.0</dd>
  380. <dt><span class="seeLabel">See Also:</span></dt>
  381. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline">GET statuses/user_timeline | Twitter Developers</a></dd>
  382. </dl>
  383. </li>
  384. </ul>
  385. <a name="getUserTimeline--">
  386. <!-- -->
  387. </a>
  388. <ul class="blockList">
  389. <li class="blockList">
  390. <h4>getUserTimeline</h4>
  391. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getUserTimeline()
  392. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  393. <div class="block">Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter.<br>
  394. This is the equivalent of the Web / page for your own user, or the profile page for a third party.<br>
  395. For backwards compatibility reasons, retweets are stripped out of the user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and Atom). If you'd like them included, you can merge them in from statuses retweeted_by_me.<br>
  396. <br>This method calls https://api.twitter.com/1.1/statuses/user_timeline</div>
  397. <dl>
  398. <dt><span class="returnLabel">Returns:</span></dt>
  399. <dd>the 20 most recent statuses posted in the last 24 hours from the user</dd>
  400. <dt><span class="throwsLabel">Throws:</span></dt>
  401. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  402. <dt><span class="seeLabel">See Also:</span></dt>
  403. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline">GET statuses/user_timeline | Twitter Developers</a></dd>
  404. </dl>
  405. </li>
  406. </ul>
  407. <a name="getUserTimeline-twitter4j.Paging-">
  408. <!-- -->
  409. </a>
  410. <ul class="blockList">
  411. <li class="blockList">
  412. <h4>getUserTimeline</h4>
  413. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getUserTimeline(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)
  414. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  415. <div class="block">Returns the 20 most recent statuses posted from the authenticating user. It's also possible to request another user's timeline via the id parameter.<br>
  416. This is the equivalent of the Web / page for your own user, or the profile page for a third party.<br>
  417. For backwards compatibility reasons, retweets are stripped out of the user_timeline when calling in XML or JSON (they appear with 'RT' in RSS and Atom). If you'd like them included, you can merge them in from statuses retweeted_by_me.<br>
  418. <br>This method calls https://api.twitter.com/1.1/statuses/user_timeline</div>
  419. <dl>
  420. <dt><span class="paramLabel">Parameters:</span></dt>
  421. <dd><code>paging</code> - controls pagination. Supports since_id, max_id, count and page parameters.</dd>
  422. <dt><span class="returnLabel">Returns:</span></dt>
  423. <dd>the 20 most recent statuses posted in the last 24 hours from the user</dd>
  424. <dt><span class="throwsLabel">Throws:</span></dt>
  425. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  426. <dt><span class="simpleTagLabel">Since:</span></dt>
  427. <dd>Twitter4J 2.0.1</dd>
  428. <dt><span class="seeLabel">See Also:</span></dt>
  429. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline">GET statuses/user_timeline | Twitter Developers</a></dd>
  430. </dl>
  431. </li>
  432. </ul>
  433. <a name="getHomeTimeline--">
  434. <!-- -->
  435. </a>
  436. <ul class="blockList">
  437. <li class="blockList">
  438. <h4>getHomeTimeline</h4>
  439. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getHomeTimeline()
  440. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  441. <div class="block">Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. This is the equivalent of /timeline/home on the Web.<br>
  442. Usage note: This home_timeline call is identical to statuses/friends_timeline, except that home_timeline also contains retweets, while statuses/friends_timeline does not for backwards compatibility reasons. In a future version of the API, statuses/friends_timeline will be deprected and replaced by home_timeline.
  443. <br>This method calls https://api.twitter.com/1.1/statuses/home_timeline</div>
  444. <dl>
  445. <dt><span class="returnLabel">Returns:</span></dt>
  446. <dd>list of the home Timeline</dd>
  447. <dt><span class="throwsLabel">Throws:</span></dt>
  448. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  449. <dt><span class="simpleTagLabel">Since:</span></dt>
  450. <dd>Twitter4J 2.0.10</dd>
  451. <dt><span class="seeLabel">See Also:</span></dt>
  452. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline">GET statuses/home_timeline | Twitter Developers</a></dd>
  453. </dl>
  454. </li>
  455. </ul>
  456. <a name="getHomeTimeline-twitter4j.Paging-">
  457. <!-- -->
  458. </a>
  459. <ul class="blockList">
  460. <li class="blockList">
  461. <h4>getHomeTimeline</h4>
  462. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getHomeTimeline(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)
  463. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  464. <div class="block">Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends. This is the equivalent of /timeline/home on the Web.<br>
  465. Usage note: This home_timeline call is identical to statuses/friends_timeline, except that home_timeline also contains retweets, while statuses/friends_timeline does not for backwards compatibility reasons. In a future version of the API, statuses/friends_timeline will be deprected and replaced by home_timeline.
  466. <br>This method calls https://api.twitter.com/1.1/statuses/home_timeline</div>
  467. <dl>
  468. <dt><span class="paramLabel">Parameters:</span></dt>
  469. <dd><code>paging</code> - controls pagination. Supports since_id, max_id, count and page parameters.</dd>
  470. <dt><span class="returnLabel">Returns:</span></dt>
  471. <dd>list of the home Timeline</dd>
  472. <dt><span class="throwsLabel">Throws:</span></dt>
  473. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  474. <dt><span class="simpleTagLabel">Since:</span></dt>
  475. <dd>Twitter4J 2.0.10</dd>
  476. <dt><span class="seeLabel">See Also:</span></dt>
  477. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline">GET statuses/home_timeline | Twitter Developers</a></dd>
  478. </dl>
  479. </li>
  480. </ul>
  481. <a name="getRetweetsOfMe--">
  482. <!-- -->
  483. </a>
  484. <ul class="blockList">
  485. <li class="blockList">
  486. <h4>getRetweetsOfMe</h4>
  487. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getRetweetsOfMe()
  488. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  489. <div class="block">Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
  490. <br>This method calls https://api.twitter.com/1.1/statuses/retweets_of_me.json</div>
  491. <dl>
  492. <dt><span class="returnLabel">Returns:</span></dt>
  493. <dd>the 20 most recent tweets of the authenticated user that have been retweeted by others.</dd>
  494. <dt><span class="throwsLabel">Throws:</span></dt>
  495. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  496. <dt><span class="simpleTagLabel">Since:</span></dt>
  497. <dd>Twitter4J 2.0.10</dd>
  498. <dt><span class="seeLabel">See Also:</span></dt>
  499. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me">GET statuses/retweets_of_me | Twitter Developers</a></dd>
  500. </dl>
  501. </li>
  502. </ul>
  503. <a name="getRetweetsOfMe-twitter4j.Paging-">
  504. <!-- -->
  505. </a>
  506. <ul class="blockListLast">
  507. <li class="blockList">
  508. <h4>getRetweetsOfMe</h4>
  509. <pre><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Status.html" title="interface in twitter4j">Status</a>&gt;&nbsp;getRetweetsOfMe(<a href="../../twitter4j/Paging.html" title="class in twitter4j">Paging</a>&nbsp;paging)
  510. throws <a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></pre>
  511. <div class="block">Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
  512. <br>This method calls https://api.twitter.com/1.1/statuses/retweets_of_me.json</div>
  513. <dl>
  514. <dt><span class="paramLabel">Parameters:</span></dt>
  515. <dd><code>paging</code> - controls pagination. Supports since_id, max_id, count and page parameters.</dd>
  516. <dt><span class="returnLabel">Returns:</span></dt>
  517. <dd>the 20 most recent tweets of the authenticated user that have been retweeted by others.</dd>
  518. <dt><span class="throwsLabel">Throws:</span></dt>
  519. <dd><code><a href="../../twitter4j/TwitterException.html" title="class in twitter4j">TwitterException</a></code> - when Twitter service or network is unavailable</dd>
  520. <dt><span class="simpleTagLabel">Since:</span></dt>
  521. <dd>Twitter4J 2.0.10</dd>
  522. <dt><span class="seeLabel">See Also:</span></dt>
  523. <dd><a href="https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me">GET statuses/retweets_of_me | Twitter Developers</a></dd>
  524. </dl>
  525. </li>
  526. </ul>
  527. </li>
  528. </ul>
  529. </li>
  530. </ul>
  531. </div>
  532. </div>
  533. <!-- ========= END OF CLASS DATA ========= -->
  534. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  535. <div class="bottomNav"><a name="navbar.bottom">
  536. <!-- -->
  537. </a>
  538. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  539. <a name="navbar.bottom.firstrow">
  540. <!-- -->
  541. </a>
  542. <ul class="navList" title="Navigation">
  543. <li><a href="../../overview-summary.html">Overview</a></li>
  544. <li><a href="package-summary.html">Package</a></li>
  545. <li class="navBarCell1Rev">Class</li>
  546. <li><a href="class-use/TimelinesResources.html">Use</a></li>
  547. <li><a href="package-tree.html">Tree</a></li>
  548. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  549. <li><a href="../../index-all.html">Index</a></li>
  550. <li><a href="../../help-doc.html">Help</a></li>
  551. </ul>
  552. </div>
  553. <div class="subNav">
  554. <ul class="navList">
  555. <li><a href="../../twitter4j/api/SuggestedUsersResources.html" title="interface in twitter4j.api"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  556. <li><a href="../../twitter4j/api/TrendsResources.html" title="interface in twitter4j.api"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  557. </ul>
  558. <ul class="navList">
  559. <li><a href="../../index.html?twitter4j/api/TimelinesResources.html" target="_top">Frames</a></li>
  560. <li><a href="TimelinesResources.html" target="_top">No&nbsp;Frames</a></li>
  561. </ul>
  562. <ul class="navList" id="allclasses_navbar_bottom">
  563. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  564. </ul>
  565. <div>
  566. <script type="text/javascript"><!--
  567. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  568. if(window==top) {
  569. allClassesLink.style.display = "block";
  570. }
  571. else {
  572. allClassesLink.style.display = "none";
  573. }
  574. //-->
  575. </script>
  576. </div>
  577. <div>
  578. <ul class="subNavList">
  579. <li>Summary:&nbsp;</li>
  580. <li>Nested&nbsp;|&nbsp;</li>
  581. <li>Field&nbsp;|&nbsp;</li>
  582. <li>Constr&nbsp;|&nbsp;</li>
  583. <li><a href="#method.summary">Method</a></li>
  584. </ul>
  585. <ul class="subNavList">
  586. <li>Detail:&nbsp;</li>
  587. <li>Field&nbsp;|&nbsp;</li>
  588. <li>Constr&nbsp;|&nbsp;</li>
  589. <li><a href="#method.detail">Method</a></li>
  590. </ul>
  591. </div>
  592. <a name="skip.navbar.bottom">
  593. <!-- -->
  594. </a></div>
  595. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  596. <p class="legalCopy"><small>Copyright &#169; 2018. All rights reserved.</small></p>
  597. </body>
  598. </html>