Get whether or not user A is following user B.
GET
/xrpc/place.stream.graph.getFollowingUser
const url = 'https://example.com/xrpc/place.stream.graph.getFollowingUser?userDID=example&subjectDID=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/place.stream.graph.getFollowingUser?userDID=example&subjectDID=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”userDID
required
The DID of the potentially-following user
string format: did
The DID of the potentially-following user
subjectDID
required
The DID of the user potentially being followed
string format: did
The DID of the user potentially being followed
Responses
Section titled “Responses”Success
Media typeapplication/json
object
follow
object
cid
required
string format: cid
uri
required
string format: uri
Example generated
{ "follow": { "cid": "example", "uri": "https://example.com" }}