<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Mon Oct 28 00:36:40 JST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>FriendsFollowersResourcesAsync (twitter4j-async 3.0.5 API)</title>
<meta name="date" content="2013-10-28">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FriendsFollowersResourcesAsync (twitter4j-async 3.0.5 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/FriendsFollowersResourcesAsync.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../twitter4j/api/FavoritesResourcesAsync.html" title="interface in twitter4j.api"><span class="strong">Prev Class</span></a></li>
<li><a href="../../twitter4j/api/HelpResourcesAsync.html" title="interface in twitter4j.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?twitter4j/api/FriendsFollowersResourcesAsync.html" target="_top">Frames</a></li>
<li><a href="FriendsFollowersResourcesAsync.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">twitter4j.api</div>
<h2 title="Interface FriendsFollowersResourcesAsync" class="title">Interface FriendsFollowersResourcesAsync</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../twitter4j/AsyncTwitter.html" title="interface in twitter4j">AsyncTwitter</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="strong">FriendsFollowersResourcesAsync</span></pre>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Joern Huxhorn - jhuxhorn at googlemail.com</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship(long)">createFriendship</a></strong>(long userId)</code>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
Returns the befriended user in the requested format when successful.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship(long, boolean)">createFriendship</a></strong>(long userId,
boolean follow)</code>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
Returns the befriended user in the requested format when successful.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship(java.lang.String)">createFriendship</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
Returns the befriended user in the requested format when successful.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#createFriendship(java.lang.String, boolean)">createFriendship</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
boolean follow)</code>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
Returns the befriended user in the requested format when successful.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#destroyFriendship(long)">destroyFriendship</a></strong>(long userId)</code>
<div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
Returns the unfollowed user in the requested format when successful.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#destroyFriendship(java.lang.String)">destroyFriendship</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</code>
<div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
Returns the unfollowed user in the requested format when successful.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersIDs(long)">getFollowersIDs</a></strong>(long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user the specified user is followed by.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersIDs(long, long)">getFollowersIDs</a></strong>(long userId,
long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user the specified user is followed by.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersIDs(java.lang.String, long)">getFollowersIDs</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user the specified user is followed by.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersList(long, long)">getFollowersList</a></strong>(long userId,
long cursor)</code>
<div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
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>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFollowersList(java.lang.String, long)">getFollowersList</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</code>
<div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
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>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsIDs(long)">getFriendsIDs</a></strong>(long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user the authenticating user is following.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsIDs(long, long)">getFriendsIDs</a></strong>(long userId,
long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user the specified user is following.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsIDs(java.lang.String, long)">getFriendsIDs</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user the specified user is following.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsList(long, long)">getFriendsList</a></strong>(long userId,
long cursor)</code>
<div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
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>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getFriendsList(java.lang.String, long)">getFriendsList</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</code>
<div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
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>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getIncomingFriendships(long)">getIncomingFriendships</a></strong>(long cursor)</code>
<div class="block">Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#getOutgoingFriendships(long)">getOutgoingFriendships</a></strong>(long cursor)</code>
<div class="block">Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#lookupFriendships(long[])">lookupFriendships</a></strong>(long[] ids)</code>
<div class="block">Returns the relationship of the authenticating user to the specified users.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#lookupFriendships(java.lang.String[])">lookupFriendships</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] screenNames)</code>
<div class="block">Returns the relationship of the authenticating user to the specified users.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#showFriendship(long, long)">showFriendship</a></strong>(long sourceId,
long targetId)</code>
<div class="block">Returns detailed information about the relationship between two users.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#showFriendship(java.lang.String, java.lang.String)">showFriendship</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceScreenName,
<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetScreenName)</code>
<div class="block">Returns detailed information about the relationship between two users.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#updateFriendship(long, boolean, boolean)">updateFriendship</a></strong>(long userId,
boolean enableDeviceNotification,
boolean retweets)</code>
<div class="block">Allows you to enable or disable retweets and device notifications from the specified user.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../twitter4j/api/FriendsFollowersResourcesAsync.html#updateFriendship(java.lang.String, boolean, boolean)">updateFriendship</a></strong>(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
boolean enableDeviceNotification,
boolean retweets)</code>
<div class="block">Allows you to enable or disable retweets and device notifications from the specified user.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getFriendsIDs(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFriendsIDs</h4>
<pre>void getFriendsIDs(long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user the authenticating user is following.
<br>This method calls http://api.twitter.com/1.1/friends/ids.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><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><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.10</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/ids">GET friends/ids | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFriendsIDs(long, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFriendsIDs</h4>
<pre>void getFriendsIDs(long userId,
long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user the specified user is following.
<br>This method calls http://api.twitter.com/1.1/friends/ids.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - Specifies the ID of the user for whom to return the friends list.</dd><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><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.10</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/ids">GET friends/ids | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFriendsIDs(java.lang.String, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFriendsIDs</h4>
<pre>void getFriendsIDs(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user the specified user is following.
<br>This method calls http://api.twitter.com/1.1/friends/ids.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - Specifies the screen name of the user for whom to return the friends list.</dd><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><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.10</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/ids">GET friends/ids | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFollowersIDs(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFollowersIDs</h4>
<pre>void getFollowersIDs(long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user the specified user is followed by.
<br>This method calls http://api.twitter.com/1.1/followers/ids.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><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><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.10</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/ids">GET followers/ids | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFollowersIDs(long, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFollowersIDs</h4>
<pre>void getFollowersIDs(long userId,
long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user the specified user is followed by.
<br>This method calls http://api.twitter.com/1.1/followers/ids.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - Specifies the ID of the user for whom to return the followers list.</dd><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><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.10</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/ids">GET followers/ids | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFollowersIDs(java.lang.String, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFollowersIDs</h4>
<pre>void getFollowersIDs(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user the specified user is followed by.
<br>This method calls http://api.twitter.com/1.1/followers/ids.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - Specifies the screen name of the user for whom to return the followers list.</dd><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><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.10</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/ids">GET followers/ids | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="lookupFriendships(long[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookupFriendships</h4>
<pre>void lookupFriendships(long[] ids)</pre>
<div class="block">Returns the relationship of the authenticating user to the specified users.
<br>This method has not been finalized and the interface is subject to change in incompatible ways.
<br>This method calls http://api.twitter.com/1.1/friendships/lookup.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ids</code> - array of the ids to lookup</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.9</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd></dl>
</li>
</ul>
<a name="lookupFriendships(java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookupFriendships</h4>
<pre>void lookupFriendships(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] screenNames)</pre>
<div class="block">Returns the relationship of the authenticating user to the specified users.
<br>This method has not been finalized and the interface is subject to change in incompatible ways.
<br>This method calls http://api.twitter.com/1.1/friendships/lookup.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenNames</code> - array of the screen names to lookup</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.9</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd></dl>
</li>
</ul>
<a name="getIncomingFriendships(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIncomingFriendships</h4>
<pre>void getIncomingFriendships(long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user.
<br>This method calls http://api.twitter.com/1.1/friendships/incoming.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cursor</code> - Breaks the results into pages. A single page contains 5000 identifiers. Provide a value of -1 to begin paging.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/incoming">GET friendships/incoming | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getOutgoingFriendships(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOutgoingFriendships</h4>
<pre>void getOutgoingFriendships(long cursor)</pre>
<div class="block">Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request.
<br>This method calls http://api.twitter.com/1.1/friendships/outgoing.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cursor</code> - Breaks the results into pages. A single page contains 5000 identifiers. Provide a value of -1 to begin paging.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/outgoing">GET friendships/outgoing | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="createFriendship(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFriendship</h4>
<pre>void createFriendship(long userId)</pre>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
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.
<br>This method calls http://api.twitter.com/1.1/friendships/create</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - the ID of the user to be befriended</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="createFriendship(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFriendship</h4>
<pre>void createFriendship(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
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.
<br>This method calls http://api.twitter.com/1.1/friendships/create</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - the screen name of the user to be befriended</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="createFriendship(long, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFriendship</h4>
<pre>void createFriendship(long userId,
boolean follow)</pre>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
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.
<br>This method calls http://api.twitter.com/1.1/friendships/create</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - the ID of the user to be befriended</dd><dd><code>follow</code> - Enable notifications for the target user in addition to becoming friends.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="createFriendship(java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFriendship</h4>
<pre>void createFriendship(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
boolean follow)</pre>
<div class="block">Allows the authenticating users to follow the user specified in the ID parameter.<br>
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.
<br>This method calls http://api.twitter.com/1.1/friendships/create</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - the screen name of the user to be befriended</dd><dd><code>follow</code> - Enable notifications for the target user in addition to becoming friends.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/create">POST friendships/create | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="destroyFriendship(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroyFriendship</h4>
<pre>void destroyFriendship(long userId)</pre>
<div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
Returns the unfollowed user in the requested format when successful. Returns a string describing the failure condition when unsuccessful.
<br>This method calls http://api.twitter.com/1.1/friendships/destroy</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - the screen name of the user to be befriended</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/destroy">POST friendships/destroy | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="destroyFriendship(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>destroyFriendship</h4>
<pre>void destroyFriendship(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName)</pre>
<div class="block">Allows the authenticating users to unfollow the user specified in the ID parameter.<br>
Returns the unfollowed user in the requested format when successful. Returns a string describing the failure condition when unsuccessful.
<br>This method calls http://api.twitter.com/1.1/friendships/destroy</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - the screen name of the user to be befriended</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.0.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/post/friendships/destroy">POST friendships/destroy | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="updateFriendship(long, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateFriendship</h4>
<pre>void updateFriendship(long userId,
boolean enableDeviceNotification,
boolean retweets)</pre>
<div class="block">Allows you to enable or disable retweets and device notifications from the specified user.
<br>This method has not been finalized and the interface is subject to change in incompatible ways.
<br>This method calls http://api.twitter.com/1.1/friendships/update.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - user id to update</dd><dd><code>enableDeviceNotification</code> - set true to enable device notification</dd><dd><code>retweets</code> - set true to enable retweets</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.9</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd></dl>
</li>
</ul>
<a name="updateFriendship(java.lang.String, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateFriendship</h4>
<pre>void updateFriendship(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
boolean enableDeviceNotification,
boolean retweets)</pre>
<div class="block">Allows you to enable or disable retweets and device notifications from the specified user.
<br>This method has not been finalized and the interface is subject to change in incompatible ways.
<br>This method calls http://api.twitter.com/1.1/friendships/update.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - screen name to update</dd><dd><code>enableDeviceNotification</code> - set true to enable device notification</dd><dd><code>retweets</code> - set true to enable retweets</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.9</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://groups.google.com/group/twitter-api-announce/msg/34909da7c399169e">#newtwitter and the API - Twitter API Announcements | Google Group</a></dd></dl>
</li>
</ul>
<a name="showFriendship(long, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>showFriendship</h4>
<pre>void showFriendship(long sourceId,
long targetId)</pre>
<div class="block">Returns detailed information about the relationship between two users.
<br>This method calls http://api.twitter.com/1.1/friendships/show.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceId</code> - the ID of the source user</dd><dd><code>targetId</code> - the ID of the target user</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/show">GET friendships/show | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="showFriendship(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>showFriendship</h4>
<pre>void showFriendship(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sourceScreenName,
<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> targetScreenName)</pre>
<div class="block">Returns detailed information about the relationship between two users.
<br>This method calls http://api.twitter.com/1.1/friendships/show.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sourceScreenName</code> - the screen name of the source user</dd><dd><code>targetScreenName</code> - the screen name of the target user</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 2.1.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friendships/show">GET friendships/show | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFriendsList(long, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFriendsList</h4>
<pre>void getFriendsList(long userId,
long cursor)</pre>
<div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
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.
<br>This method calls http://api.twitter.com/1.1/friends/list.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - The ID of the user for whom to return results for.</dd><dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 3.0.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/list">GET friends/list | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFriendsList(java.lang.String, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFriendsList</h4>
<pre>void getFriendsList(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</pre>
<div class="block">Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").<br>
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.
<br>This method calls http://api.twitter.com/1.1/friends/list.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - The screen name of the user for whom to return results for.</dd><dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 3.0.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/friends/list">GET friends/list | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFollowersList(long, long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFollowersList</h4>
<pre>void getFollowersList(long userId,
long cursor)</pre>
<div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
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.
<br>This method calls http://api.twitter.com/1.1/followers/list.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - The ID of the user for whom to return results for.</dd><dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 3.0.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/list">GET followers/list | Twitter Developers</a></dd></dl>
</li>
</ul>
<a name="getFollowersList(java.lang.String, long)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getFollowersList</h4>
<pre>void getFollowersList(<a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> screenName,
long cursor)</pre>
<div class="block">Returns a cursored collection of user objects for users following the specified user.<br>
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.
<br>This method calls http://api.twitter.com/1.1/followers/list.json</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>screenName</code> - The screen name of the user for whom to return results for.</dd><dd><code>cursor</code> - Causes the results to be broken into pages of no more than 20 records at a time.</dd><dt><span class="strong">Since:</span></dt>
<dd>Twitter4J 3.0.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="https://dev.twitter.com/docs/api/1.1/get/followers/list">GET followers/list | Twitter Developers</a></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/FriendsFollowersResourcesAsync.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-all.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../twitter4j/api/FavoritesResourcesAsync.html" title="interface in twitter4j.api"><span class="strong">Prev Class</span></a></li>
<li><a href="../../twitter4j/api/HelpResourcesAsync.html" title="interface in twitter4j.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?twitter4j/api/FriendsFollowersResourcesAsync.html" target="_top">Frames</a></li>
<li><a href="FriendsFollowersResourcesAsync.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li>Constr | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright © 2013. All Rights Reserved.</small></p>
</body>
</html>