Function to get the users who are following a particular user.
{% set userDetails = _User.getUserFollowers(userGUID) %}
| Parameter | Type | Required | Description |
|---|
| userGUID | string | yes | GUID of the user |
[
{
"follower_id":"77",
"following_id":"13",
"follower":{
"guid":"d2c5396d-7741-4449-9d24-0d33de3sd530",
"username":"test",
"name":"Test name",
"media":{
"guid":"54df4ad6-9439-4619-bd71-67475dec7736",
"id":"cxkdrdddbn6ckezkrp41",
"cloudName":"cognitives",
"path":"http://res.cloudinary.com/cognitives/image/upload/v1470038651/cxkdrdddbn6ckezkrp41.png"
}
}
}
]
An array of users
| Attribute | Description |
|---|
| following_id | ID of the following user |
| follower_id | ID of the follower user |
| follower | Details of follower user |
| Attribute | Description |
|---|
| guid | GUID of the user |
| username | Username |
| name | Name of the user |
| media | Image of the user |
| Attribute | Description |
|---|
| guid | GUID of the image |
| id | Cloudinary Cloud ID of the image |
| cloudName | Cloudinary Cloud name |
| path | Cloudinary Cloud path of the image |