create account

Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials? by the-bitcoin-dood

View this thread on: hive.blogpeakd.comecency.com
· @the-bitcoin-dood ·
$2.20
Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?
Hey everybody... 

 I've been on a huge JavaScript and NodeJS coding kick over the last 30 days. JavaScript has come a long way and I wanted to really update my working knowledge of it. I figured while I was at it, I was  really interested to see what NodeJS had to offer on the backend. I've been having a lot of fun doing the 100DaysOfCode challenge on Twitter and focusing mainly on JavaScript and NodeJS... 

I already set up a Twitter bot using NodeJS https://twitter.com/NewsCryptoBot It posts the bitcoin price every hour and the days headlines each night.  I thought it would be fun to add some Steemit features to the bot too. I also have some ideas to include a Steemit section on my website. 

So my question is, does anyone know of any tutorials on utilizing JavaScript and NodeJS with  Steemit / STEEM. 

I found this github https://github.com/steemit/steem-js

I'm new to dealing with JSON and have a little experience dealing with API's. I've been fumbling around with it and would love to see a Youtube or Dtube or even read a tutorial or two. Not finding much. If anyone knows of any good tutorials dealing with the steem-js github and any good accounts to follow dealing with this topic I'd appreciate the help greatly. Thanks :)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 4 others
properties (23)
authorthe-bitcoin-dood
permlinkanybody-know-of-any-steem-steemit-javascript-nodejs-tutorials
categorysteem
json_metadata{"tags":["steem","steemit","javascript","stem"],"links":["https://twitter.com/NewsCryptoBot","https://github.com/steemit/steem-js"],"app":"steemit/0.1","format":"markdown"}
created2019-10-14 20:01:24
last_update2019-10-14 20:01:24
depth0
children8
last_payout2019-10-21 20:01:24
cashout_time1969-12-31 23:59:59
total_payout_value1.108 HBD
curator_payout_value1.093 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,247
author_reputation178,762,640,539,548
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,556,893
net_rshares8,418,371,772,731
author_curate_reward""
vote details (68)
@crokkon · (edited)
.
.
👍  
properties (23)
authorcrokkon
permlinkpzdu1v
categorysteem
json_metadata"{"app": ""}"
created2019-10-14 20:53:51
last_update2022-09-18 07:35:36
depth1
children2
last_payout2019-10-21 20:53:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1
author_reputation81,214,366,861,104
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,558,136
net_rshares5,609,436,351
author_curate_reward""
vote details (1)
@the-bitcoin-dood ·
Awesome! Thanks.
properties (22)
authorthe-bitcoin-dood
permlinkpzdwur
categorysteem
json_metadata{"app":"steemit/0.1"}
created2019-10-14 21:54:27
last_update2019-10-14 21:54:27
depth2
children0
last_payout2019-10-21 21:54:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation178,762,640,539,548
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,559,530
net_rshares0
@the-bitcoin-dood ·
Thank you very much! Those links are incredibly helpful!
properties (22)
authorthe-bitcoin-dood
permlinkpzdy20
categorysteem
json_metadata{"app":"steemit/0.1"}
created2019-10-14 22:20:24
last_update2019-10-14 22:20:24
depth2
children0
last_payout2019-10-21 22:20:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation178,762,640,539,548
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,560,034
net_rshares0
@inertia ·
https://developers.steem.io/tutorials/#tutorials-javascript

The js tutorials are primarily based on [dsteem](https://github.com/jnordberg/dsteem) for browser front-end, though.
properties (22)
authorinertia
permlinkpzdu3z
categorysteem
json_metadata{"tags":["steem","stem"],"links":["https://developers.steem.io/tutorials/#tutorials-javascript","https://github.com/jnordberg/dsteem"],"app":"stemgeeks/0.1","canonical_url":"https://stemgeeks.net/@inertia/pzdu3z"}
created2019-10-14 20:55:12
last_update2019-10-14 20:55:12
depth1
children1
last_payout2019-10-21 20:55:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length177
author_reputation346,568,901,399,561
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,558,162
net_rshares0
@the-bitcoin-dood ·
Thanks that's been pretty helpful.
properties (22)
authorthe-bitcoin-dood
permlinkpzdwvp
categorysteem
json_metadata{"app":"steemit/0.1"}
created2019-10-14 21:55:00
last_update2019-10-14 21:55:00
depth2
children0
last_payout2019-10-21 21:55:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length34
author_reputation178,762,640,539,548
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,559,536
net_rshares0
@the-bitcoin-dood ·
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
[]
properties (22)
authorthe-bitcoin-dood
permlinkpzdxhw
categorysteem
json_metadata{"links":["https://steemit.com/@the-bitcoin-dood.json"],"app":"steemit/0.1"}
created2019-10-14 22:08:21
last_update2019-10-14 22:08:21
depth1
children2
last_payout2019-10-21 22:08:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length643
author_reputation178,762,640,539,548
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,559,809
net_rshares0
@crokkon · (edited)
$0.04
properties (23)
authorcrokkon
permlinkpzfavu
categorysteem
json_metadata"{"app": ""}"
created2019-10-15 15:55:03
last_update2022-09-18 07:35:30
depth2
children1
last_payout2019-10-22 15:55:03
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.017 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1
author_reputation81,214,366,861,104
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,583,243
net_rshares207,352,434,926
author_curate_reward""
vote details (3)
@the-bitcoin-dood ·
Thanks for all the help! I just added both links to my notes. I've got some reading and experimenting to do :)
properties (22)
authorthe-bitcoin-dood
permlinkpzfdqo
categorysteem
json_metadata{"app":"steemit/0.1"}
created2019-10-15 16:56:48
last_update2019-10-15 16:56:48
depth3
children0
last_payout2019-10-22 16:56:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length110
author_reputation178,762,640,539,548
root_title"Anybody Know of Any Steem / Steemit, JavaScript / NodeJS Tutorials?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,584,934
net_rshares0