Function to get the blogs followed by user.
{% set userDetails = _User.getBlogsFollowedByUser(userGUID) %}
| Parameter | Type | Required | Description |
|---|
| userGUID | string | yes | GUID of the user |
[
{
"follower_id":"77",
"blog":{
"id":"1",
"guid":"d2c5396d-7741-4449-9d24-0d33de3sd530",
"title":"Blog Title",
"url":"http://network.cognitives.com.au",
"shortDescription":"aplle",
"media":{
"thumb":{
"guid":"54df4ad6-9439-4619-bd71-67475dec7736",
"id":"cxkdrdddbn6ckezkrp41",
"cloudName":"cognitives",
"path":"http://res.cloudinary.com/cognitives/image/upload/v1470038651/cxkdrdddbn6ckezkrp41.png"
},
"cover":{
"guid":"57cb3cd3-1e08-4b5c-85c6-fafb5edebeb0",
"id":"mdro9ic1iicaq3gxkr4y",
"cloudName":"cognitives",
"path":"http://res.cloudinary.com/cognitives/image/upload/v1470894337/mdro9ic1iicaq3gxkr4y.jpg"
}
}
}
}
]
An array of blogs
| Attribute | Description |
|---|
| follower_id | ID of the user following blog |
| blog | Blog Details |
| Attribute | Description |
|---|
| id | ID of the blog |
| guid | GUID of the blog |
| title | Title of the blog |
| url | Absolute URL of the blog |
| shortDescription | Short description of the blog |
| media | Images of the blog |
| 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 |