> 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`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # ListMyMemberFollowing # Package: activity # Namespace: MemberFollowers # Method link: https://dev.wix.com/docs/api-reference/crm/members-contacts/members/activity/members-followers/list-my-member-following.md ## Permission Scopes: Manage Members: SCOPE.DC-MEMBERS.MANAGE-MEMBERS ## Introduction Retrieves a list of members who are followed by the current member. --- ## REST API ### Schema ``` Method: listMyMemberFollowing Description: Retrieves a list of members who are followed by the current member. URL: https://www.wixapis.com/members/v3/followers/my/following Method: GET Method parameters: 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). - name: cursor | type: string | description: Cursor returned from last query response. Return type: ListMyMemberFollowingResponse - name: memberIds | type: array | description: Retrieved list of members followed by the current member. - 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. - 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. - name: prev | type: string | description: Cursor pointing to the previous page in the list of results. ``` ### Examples ### List My Member Following ```curl curl -X GET \ 'https://www.wixapis.com/members/v3/followers/my/following' \ -H 'Authorization: ' ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.activity.MemberFollowers.listMyMemberFollowing(options) Description: Retrieves a list of members who are followed by the current member. Method parameters: param name: options | type: ListMyMemberFollowingOptions 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). - name: cursor | type: string | description: Cursor returned from last query response. Return type: PROMISE - name: memberIds | type: array | description: Retrieved list of members followed by the current member. - 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. - 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. - name: prev | type: string | description: Cursor pointing to the previous page in the list of results. ``` ### Examples ### listCurrentMemberFollowing ```javascript import { memberFollowers } from '@wix/members'; async function listCurrentMemberFollowing(options) { const response = await memberFollowers.listCurrentMemberFollowing(options); }; ``` ### listCurrentMemberFollowing (with elevated permissions) ```javascript import { memberFollowers } from '@wix/members'; import { auth } from '@wix/essentials'; async function myListCurrentMemberFollowingMethod(options) { const elevatedListCurrentMemberFollowing = auth.elevate(memberFollowers.listCurrentMemberFollowing); const response = await elevatedListCurrentMemberFollowing(options); } ``` ### listCurrentMemberFollowing (self-hosted) Self-hosted 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 listCurrentMemberFollowing(options) { const response = await myWixClient.memberFollowers.listCurrentMemberFollowing(options); }; ``` ---