About Members Follow

The Members Follow service enables site members to follow and unfollow one another.

The member who follows gets updates about the activities of the followed member.

The REST API allows third-party applications to:

  • List followers
  • List members who are followed
Was this helpful?
Yes
No

Use cases

Your app could help site owners add a widget of recommended blog, comment, or forum writers to follow based on their followers count.

  1. Get all members of a site by calling the List Members endpoint.

  2. For each member, get their followers from the List Member Followers endpoint, count them, and sort them by highest amount of followers.

Add a “people you may know” widget based on second-degree connections of a specified member

Your app could help site owners add a widget showing connections of connections, and how many connections the specified member has in common with them.

  1. Get the specified member's connections using the List Member Followers endpoint and the List Member Following endpoint.

  2. For each direct connection, get their connections in both directions, using the same endpoints as in step 1.

  3. Using the list of indirect connections from step 2, query any existing relationships to the specified member, using the List Member Connections endpoint.

  4. Sort the resulting list of potential connections into the following sets:

    • The specified member already follows the second-degree connection. Remove them from the suggestion list.
    • The second-degree connection follows the specified member. Add to a "follows you" sub-list.
    • There is not yet any direct connection to the second-degree connection. These are the members to use for the suggestion list.
Was this helpful?
Yes
No

Following and Blocking

Members may block each other within the Wix platform.

Blocking hides all member information and activity, including the fact that the block exists, from the blocked member.

Blocks are not currently accessible via REST API.

A member cannot follow or be followed by a member who they block or are blocked by.

If member A blocks member B any following relationship between member A and member Bwill be removed.

Was this helpful?
Yes
No

Follow Object

Attributes
memberIdstringformat GUID
Member ID of the member who performed the action.

affectedMemberIdstringformat GUID
Member ID of the member being followed or unfollowed.
Was this helpful?
Yes
No

GetList Member Followers

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Lists members who follow the requested member.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Members
Read Member Connections
Learn more about permission scopes.
Endpoint
GET
https://www.wixapis.com/members/v2/followers/{memberId}

Was this helpful?
Yes
No

GetList Member Following

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Lists members who are followed by the requested member.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Members
Read Member Connections
Learn more about permission scopes.
Endpoint
GET
https://www.wixapis.com/members/v2/followers/{memberId}/following

Was this helpful?
Yes
No

GetList Member Connections

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Lists a member's follower or following connections to the other members specified in the request.

Note: If no other members' IDs (connectedMemberIds) are passed, the call will return successful, but with no data.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Members
Read Member Connections
Learn more about permission scopes.
Endpoint
GET
https://www.wixapis.com/members/v2/followers/{memberId}/connections

Was this helpful?
Yes
No

Member Followed

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when a member follows another member.

Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring
Unique event ID. Allows clients to ignore duplicate webhooks.

entityFqdnstring
Fully qualified domain name of the entity associated with the event. Expected wix.members.v2.follow.

slugstring
Event name. Expected member_followed.

entityIdstring
ID of the entity associated with the event.

eventTimestringformat date-time
Event timestamp.

triggeredByAnonymizeRequestboolean
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).

originatedFromstring
If present, indicates the action that triggered the event.

actionEventobject
Event information.
Was this helpful?
Yes
No

Member Unfollowed

Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when a member unfollows another member.

Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring
Unique event ID. Allows clients to ignore duplicate webhooks.

entityFqdnstring
Fully qualified domain name of the entity associated with the event. Expected wix.members.v2.follow.

slugstring
Event name. Expected member_unfollowed.

entityIdstring
ID of the entity associated with the event.

eventTimestringformat date-time
Event timestamp.

triggeredByAnonymizeRequestboolean
Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).

originatedFromstring
If present, indicates the action that triggered the event.

actionEventobject
Event information.
Was this helpful?
Yes
No