_User.getFollowings(userGUID)

Function to get the users followed by a particular user.

Example Usage

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

Parameters

ParameterTypeRequiredDescription
userGUIDstringyesGUID of the user

Response Example

[
   {
      "followerId":"77",
      "following":{
         "id":"1",
         "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
followerIdID of the follower user
followingDetails of following user

User Details

AttributeDescription
idID of the user
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