You are viewing a single comment's thread from:
RE: Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?
UPDATE:
So I can call my JSON data here... https://steemit.com/@the-bitcoin-dood.json
I can get just about any info I don't need... Wallet balance, profile data... Does anyone know how I pull a list of posts? Say the last 5 things I posted? I found post_history :
"post_history":[
],
but when I pull it up in console.log I just get the brackets.
function steemIt() {
request({
url:"https://steemit.com/@the-bitcoin-dood.json",
json:true
}, function(error, response, body){
var getData = body.user.post_history;
console.log(getData);
})
}
result in node:
c:\Node_Projects\steemit>node steemit.js
[]
.
Thanks for all the help! I just added both links to my notes. I've got some reading and experimenting to do :)