create account

RE: May ProgBlog #4: another week another noprogblog by jrej

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @ryivhnn/re-jrej-qtn1ai

· @jrej ·
No worries, I spent a lot of time on it to understand. 

Some of the code is in the back end, so you might be missing parts of it in my source code. I made the back end source code public if you want to check it out. I might close it later tough. It is a little better structured so you should understand better. Might interest you as well @jedau https://github.com/Jrejoire/Inkito-ipfs/

Basically I followed the hive documentation, here: https://developers.hive.io/tutorials/#tutorials-javascript

And the hivesigner api for login, vote, follow etc... https://github.com/ledgerconnect/hivesigner.js

When you are say making a connection, are you at the initial config or trying to get information from Hive? Is it the Vue structure your troubled with? Maybe I can show a smaller example to help you out...
properties (22)
authorjrej
permlinkqtok2s
categoryaer
json_metadata{"users":["jedau"],"links":["https://github.com/Jrejoire/Inkito-ipfs/"],"app":"hiveblog/0.1"}
created2021-05-25 20:40:00
last_update2021-05-25 20:40:00
depth7
children2
last_payout2021-06-01 20:40: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_length807
author_reputation34,006,204,340,070
root_title"May ProgBlog #4: another week another noprogblog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,932,849
net_rshares0
@jedau ·
Nice! Thanks for sharing. Pinata looks like a cool service as well.
properties (22)
authorjedau
permlinkre-jrej-qtplo3
categoryaer
json_metadata{"tags":["aer"],"app":"peakd/2021.05.4"}
created2021-05-26 10:12:03
last_update2021-05-26 10:12:03
depth8
children0
last_payout2021-06-02 10:12:03
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_length67
author_reputation50,429,040,590,557
root_title"May ProgBlog #4: another week another noprogblog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,943,553
net_rshares0
@ryivhnn ·
I'll have a scrub through if it's up long enough next time I get a work period (with the way I structured stuff coding only gets a work period once a week which is the other reason why it's taking so long to get anywhere ^_^;).

I was following the hive documentation but I can't even get posts to list.  Initially tried rewriting the example to fit how I wanted the vue structure (because I absolutely loathe code spitting out more code like that) but in the end couldn't even get a straight up copy/paste to work ^_^; I would have to go back and look again for the exact error message, my current interpretation is that I'm missing something because something or other is not being done with the client object.
properties (22)
authorryivhnn
permlinkre-jrej-qtou0w
categoryaer
json_metadata{"tags":["aer"],"app":"peakd/2021.05.4"}
created2021-05-26 00:14:57
last_update2021-05-26 00:14:57
depth8
children0
last_payout2021-06-02 00:14:57
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_length712
author_reputation207,943,959,492,831
root_title"May ProgBlog #4: another week another noprogblog"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id103,935,739
net_rshares0