create account

Introducing Hive Sharer - Sharing links on the chain! by fbslo

View this thread on: hive.blogpeakd.comecency.com
· @fbslo · (edited)
$11.33
Introducing Hive Sharer - Sharing links on the chain!
<center><h3>Hive Sharer</h3></center>

<center>***Sharing links on the chain!***</center>
<center>[Website](https://sharer.fbslo.net) - [GitHub](https://github.com/fbslo/sharer)</center>


<center>![image.png](https://images.hive.blog/DQmbeD4u4BACY1u4Sz3wshuL5SM1EN58sicT52FfPPgUga8/image.png)</center>

---

**Abstract**

Sharing links on Hive is controversial topic. Some people think that profiting from reward pool by simply sharing links is not ok, others think it should be rewarded. Post that motivated me to think about this more, was https://peakd.com/hivewatchers/@demotruk/copy-and-paste-is-not-the-same-as-spam-or-plagiarism by @demotruk.

Hive Sharer is solving this problem by introducing blockhain-based link sharing platform, where users can reward each other by tipping HIVE if they like shared content.

Users can also upvote posts (upvotes don't have any monetary value), and most upvoted posts will end up on trending page.

Reward pool is not used, users can still reward their favorite sharers and people can still share links they like. Sharers can earn only by providing high quality links (solving the problem of low quality content & self-voting).

---

***How to use the site***

You must have Hive Keychain installed to vote, comment, post or tip. Get it for [Firefox](https://addons.mozilla.org/en-US/firefox/addon/hive-keychain/) or [Chrome](https://chrome.google.com/webstore/detail/hive-keychain/jcacnejopjdphbnjgfaaobbfafkihpep).

When you visit the site for the first time, you must enter your hive username. Your username is than stored into your browser's local storage and used with Keychain when you try to vote, comment, post... If you used wrong username, click [change username] in the footer.

To visit user's profile, click on "Account" button and enter hive username or click on author's name in the post (or click the user's avatar).

To share new link, click "Share" button, enter link, description and one tag (sorting by tag is not available yet).

***This is still alpha version, there <strike>might be</strike> are still bugs in the code. Report any bugs (except "known bugs") to @fbslo. <sup>(contact & known bugs at the bottom)</sup>***

---


***How does this app works? <sup>for developers & curious cats</sup>***

App is streaming blockchain and listening for custom_json operations with id `hive_sharer`. When they are detected, they are stored into MySQL database (for faster (offline) access, you can use HiveSQL or pure blockchain instead to build frontend for HiveSharer).

I used internal database instead of using data from blockhain because public RPC nodes can be slow and unreliable. It can also make removing unwanted content (spam...) faters, since there is no need for hardcoded blacklist, but only `DELETE FROM posts WHERE author='spammer';`... Data is still stored in blockchain, but frontend is not showing it anymore.

There are 3 transaction types: `post`, `comment`, `vote`

Frontend is accessing data using API at `/api/...` (more API documentation bellow.)

---

***JSON operations***

New post:

```
var time = new Date().getTime() //unix_timestamp * 1000
var id_post = 'fbslo' + '-' + time + '-hivesharer' //author-time-hivesharer

post = `{
  "type": "post",
  "author": "fbslo",
  "link": "https://fbslo.net",
  "description": "My personal website!",
  "time": "${time}",
  "tags": "dev",
  "id": "${id_post}"
}`
```
---

New vote:

```
var time = new Date().getTime()
var id_vote = 'vote-fbslo' + '-' + time + '-hivesharer'

vote = `{
  "type": "vote",
  "voter": "fbslo",
  "time": "${time}",
  "id": "${id_vote}",
  "parent_id": "fbslo-1589046191432-hivesharer"
}`
```

---

New comment:

```
var time = new Date().getTime()
var id_comment = 'comment-fbslo' + '-' + time + '-hivesharer'

var comment = `{
  "type": "comment",
  "author": "fbslo",
  "description": "Great Website!",
  "time": "${time}",
  "parent_id": "fbslo-1589046191432-hivesharer",
  "id": "${id_comment}"
}`
```

---

Frontend CSS templates used:

* https://codepen.io/JavaScriptJunkie/pen/jvRGZy by Muhammed Erdem (used for profile page)
* https://codepen.io/TSUmari/pen/WmXGgo by Tsumari (used for new/trending page)
* Font Awesome icons
* Loading icons by https://loading.io/

3rd party libraries used:

Frontend:
* jQuery
* SweetAlert2
* Moment.js

Backend:
* @hiveio/hive-js
* express, body-parser, ejs
* link-preview-node
* mysql
* xss


---

***How to set up your own dApp***

Clone github repository and install MySQL database.

Database schema:

* database name: `sharer`
* Tables:

```
Table name: posts
+---------------+---------+------+-----+---------+-------+
| Field         | Type    | Null | Key | Default | Extra |
+---------------+---------+------+-----+---------+-------+
| author        | text    | YES  |     | NULL    |       |
| link          | text    | YES  |     | NULL    |       |
| description   | text    | YES  |     | NULL    |       |
| time          | text    | YES  |     | NULL    |       |
| tags          | text    | YES  |     | NULL    |       |
| id            | text    | YES  |     | NULL    |       |
| votes         | int(11) | YES  |     | NULL    |       |
| comments      | text    | YES  |     | NULL    |       |
| image_preview | text    | YES  |     | NULL    |       |
| title_preview | text    | YES  |     | NULL    |       |
+---------------+---------+------+-----+---------+-------+

Table name: comments
+-------------+------+------+-----+---------+-------+
| Field       | Type | Null | Key | Default | Extra |
+-------------+------+------+-----+---------+-------+
| author      | text | YES  |     | NULL    |       |
| description | text | YES  |     | NULL    |       |
| time        | text | YES  |     | NULL    |       |
| parent_id   | text | YES  |     | NULL    |       |
| id          | text | YES  |     | NULL    |       |
+-------------+------+------+-----+---------+-------+

Table name: votes
+-----------+------+------+-----+---------+-------+
| Field     | Type | Null | Key | Default | Extra |
+-----------+------+------+-----+---------+-------+
| voter     | text | YES  |     | NULL    |       |
| time      | text | YES  |     | NULL    |       |
| parent_id | text | YES  |     | NULL    |       |
| id        | text | YES  |     | NULL    |       |
+-----------+------+------+-----+---------+-------+
```

(Instructions on how to install NodeJS, NPM and MySQL: https://gist.github.com/fbslo/b63bab4c9e7cfc09e5b613fbe4715937)

Rename `/database/db_config.json.demo` to `/database/db_config.json` and edit your database details.

Run `npm install`

Run `node server.js` will start app on port 5000.

---

***Trending Algorithm***

To sort trending page, I used score calculated from number of votes and post age.

`let score = votes / Math.pow(post_age_days, 0.6)`


![image.png](https://images.hive.blog/DQmf5qQ7gH1NRd5KNhYg9Focne5farasehDNDWR3QWMRUpu/image.png)
<sup>Example for post with 1000 votes.</sup>

---

<h3>API Documentation</h3>

`GET` `/api/profile`

API parameters: `account` (default is fbslo)

Example: `/api/profile?account=fbslo`

Return type: `json`

On error: `success: false`

On success:
```
success: true,
username: username,
name: name,
about: about,
location: location,
profile_image: profile_image,
post_count: number_of_posts_on_hive,
following: number_of_following_on_hive, //or N/A
followers: number_of_followers_on_hive //or N/A
```

---

`GET` `/api/posts`

API parameters: `page` (default is 1)

Limit: 10 per page

Example: `/api/posts?page=2`

Return type: `json`

On error: `success: false`

On Success:
```
[0] background_image: image_from_website,
    profile_image: author's_profile_image,
    link: webpage_link,
    author: author_username,
    id: post_id,
    title: title_from_web_page,
    description: description_by_author,
    votes: number_of_votes, //int
    comments: number_of_comments //string
...
```

---

`GET` `/api/comments`

API parameters:  `id`

Example: `/api/comments?id=fbslo-1589046191432-hivesharer`

Return type: `json`

On error: `success: false`

On Success:
```
[0] parent_id: parent_post_id,
    author: author's_username,
    id: comment_id,
    description: comment_body,
    time: time_in_(unix_timestamp * 1000)
...
```

---

`GET` `/api/accountposts`

API parameters:  `account` (default is fbslo)

Example: `/api/accountposts?account=fbslo`

Return type: `json`

On error: `success: false`

On Success:
```
[0] time: time_in_(unix_timestamp * 1000),
    link: website_link,
    author: author_username,
    id: post_id,
    title: title_from_web_page,
    description: description_by_author,
    votes: number_of_votes, //int
    comments: number_of_comments //string
...
```

---

`GET` `/api/trending`

API parameters:  none

Example: `/api/trending`

Return type: `json`

On error: `success: false`

On Success:
```
[0] background_image: image_from_website,
    profile_image: profile_image_from_hive,
    time: time_in_(unix_timestamp * 1000),
    link: website_link,
    author: author_username,
    id: post_id,
    title: title_from_web_page,
    description: description_by_author,
    votes: number_of_votes, //int
    comments: number_of_comments //string
    trending_score: trending_score //see above explanation of trending score calculation
...
```

---  

---

<center><b>@fbslo</b><br>Discord: fbslo#8470</center>

---

Known bugs:
* Connection to RPC server fails sometimes and don't reconnect on next attempt to connect. <sup>I'm not sure if this is RPC problem, my internet connection or the code.</sup> If you submited comment, post or vote but front-end don't show it, it's probably this. 
* Poor UI responsiveness on smaller screens


---

***This SOFTWARE PRODUCT is provided by THE PROVIDER "as is" and "with all faults." THE PROVIDER makes no representations or warranties of any kind concerning the safety, suitability, lack of viruses, inaccuracies, typographical errors, or other harmful components of this SOFTWARE PRODUCT. There are inherent dangers in the use of any software, and you are solely responsible for determining whether this SOFTWARE PRODUCT is compatible with your equipment and other software installed on your equipment. You are also solely responsible for the protection of your equipment and backup of your data, and THE PROVIDER will not be liable for any damages you may suffer in connection with using, modifying, or distributing this SOFTWARE PRODUCT.***
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 3 others
properties (23)
authorfbslo
permlinkintroducing-hive-sharer-sharing-links-on-the-chain
categoryhackathon
json_metadata{"tags":["hackathon-entries","technology","hivedevs","hivesharer","devs","teamslovenia","development"],"users":["demotruk","fbslo","hiveio"],"image":["https://images.hive.blog/DQmbeD4u4BACY1u4Sz3wshuL5SM1EN58sicT52FfPPgUga8/image.png","https://images.hive.blog/DQmf5qQ7gH1NRd5KNhYg9Focne5farasehDNDWR3QWMRUpu/image.png"],"links":["https://sharer.fbslo.net","https://github.com/fbslo/sharer","https://peakd.com/hivewatchers/@demotruk/copy-and-paste-is-not-the-same-as-spam-or-plagiarism","https://addons.mozilla.org/en-US/firefox/addon/hive-keychain/","https://chrome.google.com/webstore/detail/hive-keychain/jcacnejopjdphbnjgfaaobbfafkihpep","https://codepen.io/JavaScriptJunkie/pen/jvRGZy","https://codepen.io/TSUmari/pen/WmXGgo","https://loading.io/","https://gist.github.com/fbslo/b63bab4c9e7cfc09e5b613fbe4715937"],"app":"hiveblog/0.1","format":"markdown"}
created2020-05-11 14:35:09
last_update2020-05-17 16:26:18
depth0
children19
last_payout2020-05-18 14:35:09
cashout_time1969-12-31 23:59:59
total_payout_value5.828 HBD
curator_payout_value5.501 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length10,417
author_reputation163,373,705,640,602
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,312,581
net_rshares20,342,166,788,947
author_curate_reward""
vote details (67)
@amico ·
Did it go out of production before I could try it, @fbslo? 😡 What a pity! 
properties (22)
authoramico
permlinkre-fbslo-qfxv0v
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.08.3"}
created2020-08-31 17:24:33
last_update2020-08-31 17:24:33
depth1
children5
last_payout2020-09-07 17:24:33
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_length74
author_reputation51,076,240,298,517
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,376,726
net_rshares0
@fbslo ·
It was written for the hackathon and I shut it down after some time to save on server resources. But it's running again, try it ;) https://sharer.fbslo.net/

I can't promise how long it will be online.
properties (22)
authorfbslo
permlinkqfxvhf
categoryhackathon
json_metadata{"links":["https://sharer.fbslo.net/"],"app":"hiveblog/0.1"}
created2020-08-31 17:34:30
last_update2020-08-31 17:34:30
depth2
children4
last_payout2020-09-07 17:34:30
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_length201
author_reputation163,373,705,640,602
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,376,859
net_rshares0
@amico ·
Thank you: very kind! πŸ™
properties (22)
authoramico
permlinkre-fbslo-qfxwyf
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.08.3"}
created2020-08-31 18:06:15
last_update2020-08-31 18:06:15
depth3
children0
last_payout2020-09-07 18:06:15
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_length23
author_reputation51,076,240,298,517
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,377,329
net_rshares0
@atma.love ·
@fbslo
I just tried and got this:

This page isn’t working
sharer.fbslo.net didn’t send any data.
ERR_EMPTY_RESPONSE
properties (22)
authoratma.love
permlinkre-fbslo-qfy9pl
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.08.3"}
created2020-08-31 22:41:48
last_update2020-08-31 22:41:48
depth3
children2
last_payout2020-09-07 22:41: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_length116
author_reputation158,551,275,931,254
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id99,381,086
net_rshares0
@bluerobo ·
$0.02
It was about time somebody would try to figure this out.
Will have to check it out. 
πŸ‘  ,
properties (23)
authorbluerobo
permlinkre-fbslo-qa6bmu
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.05.2"}
created2020-05-11 15:42:39
last_update2020-05-11 15:42:39
depth1
children0
last_payout2020-05-18 15:42:39
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length84
author_reputation101,709,195,768,843
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,313,795
net_rshares78,819,062,874
author_curate_reward""
vote details (2)
@boostme ·
Test comment!
πŸ‘Ž  
properties (23)
authorboostme
permlinkre-fbslo-qc6rzo
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.05.5"}
created2020-06-19 18:43:03
last_update2020-06-19 18:43:03
depth1
children0
last_payout2020-06-26 18:43: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_length13
author_reputation460,563,307,446
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,063,663
net_rshares-6,204,163,321
author_curate_reward""
vote details (1)
@chitty ·
I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!
properties (22)
authorchitty
permlinkre-introducing-hive-sharer-sharing-links-on-the-chain-20200516t000518
categoryhackathon
json_metadata""
created2020-05-16 00:05:21
last_update2020-05-16 00:05:21
depth1
children0
last_payout2020-05-23 00:05: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_length86
author_reputation86,901,300,608,582
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,395,904
net_rshares0
@ervin-lemark ·
$0.02
Cool, very cool. Bravo. I'll check it out.

!invest_vote
πŸ‘  , ,
properties (23)
authorervin-lemark
permlinkre-fbslo-2020530t221334811z
categoryhackathon
json_metadata{"tags":["hackathon-entries","technology","hivedevs","hivesharer","devs","teamslovenia","development"],"app":"esteem/2.2.7-surfer","format":"markdown+html","community":"esteem.app"}
created2020-05-30 20:13:36
last_update2020-05-30 20:13:36
depth1
children0
last_payout2020-06-06 20:13:36
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation473,060,194,779,639
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,680,313
net_rshares96,700,600,672
author_curate_reward""
vote details (3)
@gitplait ·
Hello, and thanks for your nice work in making Hive more fun. We found this post useful and we will feature it in our Gitplait-elite publication today. Well done!
properties (22)
authorgitplait
permlinkqadmvm
categoryhackathon
json_metadata{"app":"hiveblog/0.1"}
created2020-05-15 14:28:36
last_update2020-05-15 14:28:36
depth1
children0
last_payout2020-05-22 14:28:36
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_length162
author_reputation911,220,543,569
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,387,143
net_rshares0
@hiveqa ·
$0.09
So glad someone finally did my idea! check that comment out :)

https://peakd.com/hackathon/@hiveqa/re-originate-q9u2zh

I'll have to try this out :)
πŸ‘  
properties (23)
authorhiveqa
permlinkre-fbslo-qafz1k
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.05.3"}
created2020-05-16 20:46:30
last_update2020-05-16 20:46:30
depth1
children0
last_payout2020-05-23 20:46:30
cashout_time1969-12-31 23:59:59
total_payout_value0.044 HBD
curator_payout_value0.044 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length149
author_reputation6,767,181,889,680
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,412,080
net_rshares282,695,888,417
author_curate_reward""
vote details (1)
@klye ·
$0.09
Awesome project and makes us have the ability tor be closer to Reddit.. I like it.
πŸ‘  
properties (23)
authorklye
permlinkre-fbslo-qah3ke
categoryhackathon
json_metadata{"tags":["hackathon"],"app":"peakd/2020.05.3"}
created2020-05-17 11:21:51
last_update2020-05-17 11:21:51
depth1
children0
last_payout2020-05-24 11:21:51
cashout_time1969-12-31 23:59:59
total_payout_value0.045 HBD
curator_payout_value0.045 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation412,341,527,771,769
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,422,818
net_rshares288,441,646,249
author_curate_reward""
vote details (1)
@rishi556 ·
$0.03
Posting using JSON. Nice, I like the idea. Reddit basically :)

Now we need to up max custom_json per block per account and this should allow for a lot more flexibility for users.
πŸ‘  
properties (23)
authorrishi556
permlinkqa6y5m
categoryhackathon
json_metadata{"app":"hiveblog/0.1"}
created2020-05-11 23:49:00
last_update2020-05-11 23:49:00
depth1
children0
last_payout2020-05-18 23:49:00
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.014 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length179
author_reputation133,356,525,578,299
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,320,622
net_rshares89,536,792,807
author_curate_reward""
vote details (1)
@rishi556 ·
One suggestion though, maybe not show the confirmed message until the user allows action on keychain?
properties (22)
authorrishi556
permlinkqa6y7c
categoryhackathon
json_metadata{"app":"hiveblog/0.1"}
created2020-05-11 23:50:00
last_update2020-05-11 23:50:00
depth1
children1
last_payout2020-05-18 23:50: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_length101
author_reputation133,356,525,578,299
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,320,633
net_rshares0
@fbslo ·
I will add check if keychain is installed once user vote/post/comment/tip, but if keychain is installed, it's only possible to detect when keychain window is opened and when tx is broadcasted/canceled. 

Currently "sending vote" is shown when keychain is opened and "vote sent" when transaction is broadcasted.

I will try to add better messages, e.g. "confirm vote"...
properties (22)
authorfbslo
permlinkqa7sct
categoryhackathon
json_metadata{"app":"hiveblog/0.1"}
created2020-05-12 10:41:30
last_update2020-05-12 10:41:30
depth2
children0
last_payout2020-05-19 10:41:30
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_length369
author_reputation163,373,705,640,602
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,327,504
net_rshares0
@rishi556 ·
Is there a minimum tip amount? Can't seem to tip, just shows an `!`.
properties (22)
authorrishi556
permlinkqa6yo4
categoryhackathon
json_metadata{"app":"hiveblog/0.1"}
created2020-05-12 00:00:06
last_update2020-05-12 00:00:06
depth1
children1
last_payout2020-05-19 00:00:06
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_length68
author_reputation133,356,525,578,299
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,320,738
net_rshares0
@fbslo ·
If you are tipping from profile page, minimum about is 1 HIVE (since I'm using 'number' input in Sweetalert2). 

On new/trending page, make sure amount format is 0.100 (3 decimals).

I will add some fixes, but I will be busy for next few days and I published it early so I can enter the STEMgeeks hackaton.
properties (22)
authorfbslo
permlinkqa7s7a
categoryhackathon
json_metadata{"app":"hiveblog/0.1"}
created2020-05-12 10:38:00
last_update2020-05-12 10:38:00
depth2
children0
last_payout2020-05-19 10:38: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_length306
author_reputation163,373,705,640,602
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,327,462
net_rshares0
@tj4real ·
$0.02
Way to go my friend. I will try it up. I actually had my downs on cross posting, but then with much more understanding of the system it's important to crosspost sometimes. I believe Hive sharer also has its purpose
πŸ‘  ,
properties (23)
authortj4real
permlinkre-fbslo-2020511t172956168z
categoryhackathon
json_metadata{"tags":["hackathon","hackathon-entries","technology","hivedevs","hivesharer","devs","teamslovenia","development"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-05-11 17:30:03
last_update2020-05-11 17:30:03
depth1
children0
last_payout2020-05-18 17:30:03
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length214
author_reputation71,339,870,296,873
root_title"Introducing Hive Sharer - Sharing links on the chain!"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,315,583
net_rshares78,560,682,883
author_curate_reward""
vote details (2)