> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# ListMemberFollowing

# Package: activity

# Namespace: MemberFollowers

# Method link: https://dev.wix.com/docs/api-reference/crm/members-contacts/members/activity/members-followers/list-member-following.md

## Permission Scopes:
Read Member Connections: SCOPE.DC-MEMBERS.READ-FOLLOWERS

## Introduction

Retrieves a list of members who are followed by the given member.

---

## REST API

### Schema

```
 Method: listMemberFollowing
 Description: Retrieves a list of members who are followed by the given member.
 URL: https://www.wixapis.com/members/v3/followers/{memberId}/following
 Method: GET
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  memberId
 Method parameters: 
   param name: memberId | type:   none | required: true 
   param name: paging | type: CursorPaging    
        - name: limit | type: integer | description: Number of items to return. See [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging.md).  | validation: minimum 1, maximum 100, format int32
        - name: cursor | type: string | description: Cursor returned from last query response.  
 Return type: ListMemberFollowingResponse
  - name: memberIds | type: array<string> | description: Retrieved list of members who are followed by the given member.  | validation: format GUID
  - name: pagingMetadata | type: PagingMetadataV2 | description: Details on the paged set of results returned.  
     - name: count | type: integer | description: Number of items starting from given cursor.  | validation: format int32
     - name: cursors | type: Cursors | description: Cursors to navigate through the result pages using `next` and `prev`.  
        - name: next | type: string | description: Cursor string pointing to the next page in the list of results.  | validation: maxLength 16000
        - name: prev | type: string | description: Cursor pointing to the previous page in the list of results.  | validation: maxLength 16000


```

### Examples

### List Member Following
```curl
curl -X GET \
  'https://www.wixapis.com/members/v3/followers/24d1fada-b1fb-44e3-ab31-d48b243b9d34/following' \
  -H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.members.memberFollowers.listMemberFollowing(memberId, options)
 Description: Retrieves a list of members who are followed by the given member.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  memberId
 Method parameters: 
   param name: memberId | type: string | description: GUID of the member whose followers to list. | required: true | validation: format GUID
   param name: options | type: ListMemberFollowingOptions  none  
        - name: paging | type: CursorPaging | description: Pagination options. For more information, see [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging.md).  
           - name: limit | type: integer | description: Number of items to return. See [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging.md).  | validation: minimum 1, maximum 100, format int32
           - name: cursor | type: string | description: Cursor returned from last query response.  
 Return type: PROMISE<ListMemberFollowingResult>
  - name: memberIds | type: array<string> | description: Retrieved list of members who are followed by the given member.  | validation: format GUID
  - name: metadata | type: PagingMetadataV2 | description: Details on the paged set of results returned.  
     - name: count | type: integer | description: Number of items starting from given cursor.  | validation: format int32
     - name: cursors | type: Cursors | description: Cursors to navigate through the result pages using `next` and `prev`.  
        - name: next | type: string | description: Cursor string pointing to the next page in the list of results.  | validation: maxLength 16000
        - name: prev | type: string | description: Cursor pointing to the previous page in the list of results.  | validation: maxLength 16000


```

### Examples

### listMemberFollowing
```javascript
import { memberFollowers } from '@wix/members';

async function listMemberFollowing(memberId,options) {
  const response = await memberFollowers.listMemberFollowing(memberId,options);
};
```

### listMemberFollowing (with elevated permissions)
```javascript
import { memberFollowers } from '@wix/members';
import { auth } from '@wix/essentials';

async function myListMemberFollowingMethod(memberId,options) {
  const elevatedListMemberFollowing = auth.elevate(memberFollowers.listMemberFollowing);
  const response = await elevatedListMemberFollowing(memberId,options);
}
```

### listMemberFollowing (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { memberFollowers } from '@wix/members';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { memberFollowers },
  // Include the auth strategy and host as relevant
});


async function listMemberFollowing(memberId,options) {
  const response = await myWixClient.memberFollowers.listMemberFollowing(memberId,options);
};
```

---