---
title: Social Graph
description: Build social feed from followed accounts
url: https://docs.intuition.systems/docs/v1/graphql-api/examples/social-graph
markdown_url: https://docs.intuition.systems/docs/v1/graphql-api/examples/social-graph.md
version: V1
llms_index: https://docs.intuition.systems/docs/v1/llms.txt
---

Build a social activity feed from followed accounts.

## Query

    id: 'following-feed',
    title: 'Following Activity Feed',
    query: `query GetFollowingFeed($address: String!, $limit: Int!) {
  following_count: following_aggregate(args: { address: $address }) {
    aggregate {
      count

  positions_from_following(
    args: { address: $address }
    limit: $limit
    order_by: { created_at: desc }
  ) {
    id
    shares
    created_at
    account {
      id
      label
      image

    vault {
      term_id
      term {
        atom { label image }

}`,
    variables: {
      address: '0x88D0aF73508452c1a453356b3Fac26525aEc23A2',
      limit: 20

];
