_User.getUserFollowers(userGUID)

Function to get the users who are following a particular user.

Example Usage

{% set userDetails = _User.getUserFollowers(userGUID) %}

Parameters

ParameterTypeRequiredDescription
userGUIDstringyesGUID of the user

Response Example

[
   {
      "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"
         }
      }
   }
]

Response Description

An array of users

AttributeDescription
following_idID of the following user
follower_idID of the follower user
followerDetails of follower user

User Details

AttributeDescription
guidGUID of the user
usernameUsername
nameName of the user
media Image of the user

Image Details

AttributeDescription
guidGUID of the image
idCloudinary Cloud ID of the image
cloudNameCloudinary Cloud name
pathCloudinary Cloud path of the image