You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I need to extract the category of multiple posts as in the next lines of code, how can I proceed?
The code is:
for (var i = 0, len = vm.following.length; i < len; i++) {
steem.api.getDiscussionsByBlog({tag: vm.following[i].name, limit: 50}, function(err, result) {
if (result) {
console.log(result);
let postContainer = $('#result');
let metadato = JSON.parse(result[i].json_metadata);
postContainer.append( /* params */); console.log(result[i].category);
}
})
}
The idea is to retrieve 50 posts of each user in the variable vm.following and for these posts I need to extract the category related to.
How can I do this? Any advice?
Hi everybody!
I write you because I need to understand how can I get information from the object associated to a post.
The code is:
const author = "pippofranco";
const permlink = "il-segreto-per-il-successo";
steem.api.getContent(author, permlink, function(err, result) {
console.log(result);
});
The object related to the user is:
How can I extract the information about "category"?
I need your help for my degree...
Thank you in advance!!!!
The text was updated successfully, but these errors were encountered: