 Steem上的应用生态正变得越来越好,其中Steem Connect的出现起到非常重要的作用。它为去中心化平台提供了一个安全的中心化授权接口,从而使软件开发变的简单,高效。此教程用来介绍基于 Steem Connect V2 的应用开发流程。 > PS: SteemConnect 有V1 版本,但不推荐使用,以下 SteemConnect 特指 V2 ### 基本原理 同我们使用微信,QQ注册登录第三方网站一样,SteemConnect也使用了一种称为[OAuth2](https://baike.baidu.com/item/OAuth2.0)的技术,阮一峰的这篇[文章](http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html)中有详细的讲解。 简单理解:第三方应用 A 要获取用户 B 的权限,必须向 B 信任的中心 C 提出申请,B 向 C 输入私钥批准申请,C 将包含该权限的Token 给予 A,A就可以使用 B 的相应权限。 好处:A 从未接触过 B 的私钥,且 B 可以只授予 A 部分权限,权限可通过控制Token过期随时收回。 ### 开发者注册 第三方应用要接入SteemConnect,需要事先注册,注册地址:https://v2.steemconnect.com/dashboard 登录之后,点击左下方的My Apps, 在 My Apps 界面中点击 New App  这里需要 3 Steem 来给自己的 APP 注册一个账号,此账号由官方管理,你接触不到私钥。账号名称没有强制要求,但惯例以app结尾,例如busy.app, cnsteem.app APP 注册成功之后,我们需要对 APP 进行配置,点击My Apps -> 选择 App -> 选择Edit  > 最重要的是Redirect URI(s)的设置,它可以设置多个,但一定要与授权之后返回的页面地址保持相同。比如在本地测试,用户在http://localhost:8080/ 申请登录,Redirect URI(s)中必须有相同的地址! ### 应用开发 Steemit 官方为我们提供了完整的 Javascript 开发接口和示例。 https://github.com/steemit/sc2-sdk https://github.com/cnsteem/sc2-angular 以提供的Angular为例,需要修改 app.js, 适配自己的app ``` sc2.init({ app: 'cnsteem.app', callbackURL: 'http://localhost:8080/', scope: ['vote', 'comment'] }); ``` 当用户授权成功后,服务器会返回一个Access Token, 通过该 token 调用 Steemconnect的API,进行点赞,评论,发帖等相关操作。 具体 Demo 可参考:https://cnsteem.github.io/sc2-angular/ ### 结尾 国内程序员特别喜欢使用Vue 这个前端框架,通过 Vue 配合 sc2-sdk 可以开发许多有意思的应用,如果有兴趣可以尝试一下。 另外关于 steem 开发的文章鼓励大家加上 cn-progamming 标签 !
author | skenan |
---|---|
permlink | steem-connect-v2 |
category | cn |
json_metadata | {"community":"busy","app":"steemit/0.1","format":"markdown","tags":["cn","cn-programming","steem-guides","busy","cnsteem"],"links":["https://baike.baidu.com/item/OAuth2.0","http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html","https://v2.steemconnect.com/dashboard","http://localhost:8080/","https://github.com/steemit/sc2-sdk","https://github.com/cnsteem/sc2-angular","https://cnsteem.github.io/sc2-angular/"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1518225587/vh7tj5uzxmf5lmbh3cvj.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518224156/oai5aufb0f2yo1yihtdl.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518224584/njujbb2vln5dvthwhymj.png"]} |
created | 2018-02-10 01:24:45 |
last_update | 2018-02-10 02:26:36 |
depth | 0 |
children | 26 |
last_payout | 2018-02-17 01:24:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 21.206 HBD |
curator_payout_value | 5.804 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,729 |
author_reputation | 8,219,510,746,132 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,295,480 |
net_rshares | 3,752,664,761,119 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
abit | 0 | 2,141,251,097,542 | 60% | ||
oflyhigh | 0 | 596,328,436,975 | 25% | ||
bestmz | 0 | 1,552,982,550 | 100% | ||
cause-no-harm | 0 | 225,625,689 | 100% | ||
justyy | 0 | 51,905,230,857 | 7.94% | ||
yuxi | 0 | 13,662,574,828 | 80% | ||
dapeng | 0 | 75,260,689,475 | 100% | ||
happyukgo | 0 | 158,503,325 | 8.22% | ||
bring | 0 | 2,724,866,092 | 100% | ||
busy.org | 0 | 45,925,317,323 | 0.06% | ||
blacktranquility | 0 | 6,927,493,733 | 100% | ||
nokeh | 0 | 0 | 100% | ||
cqf | 0 | 34,691,410,984 | 100% | ||
resteemable | 0 | 1,109,885,849 | 0.68% | ||
nationalpark | 0 | 4,084,980,115 | 100% | ||
susanli3769 | 0 | 11,444,344,112 | 15% | ||
ety001 | 0 | 1,717,684,235 | 100% | ||
idx | 0 | 12,024,292,109 | 60% | ||
mangoanddaddy | 0 | 987,302,890 | 80% | ||
fr3eze | 0 | 30,782,403,283 | 28% | ||
tvb | 0 | 5,932,653,097 | 20% | ||
skenan | 0 | 213,005,675,181 | 100% | ||
spotlight | 0 | 69,067,330,418 | 12.5% | ||
chenhs | 0 | 2,517,484,506 | 100% | ||
yellowbird | 0 | 4,579,777,166 | 23% | ||
chenlocus | 0 | 4,801,419,051 | 40% | ||
yingpingzhang | 0 | 13,223,651,097 | 100% | ||
superbing | 0 | 644,247,946 | 7.02% | ||
dailyfortune | 0 | 556,376,667 | 7.97% | ||
otmane.riad | 0 | 598,380,711 | 100% | ||
xiaoshancun | 0 | 414,407,050 | 100% | ||
dailystats | 0 | 1,028,885,314 | 7.27% | ||
ipaulo | 0 | 614,215,302 | 100% | ||
alanzheng | 0 | 207,956,763 | 5.82% | ||
cnbuddy | 0 | 240,197,160,449 | 60% | ||
chann | 0 | 3,853,898,518 | 10% | ||
cnsteem | 0 | 28,065,792,920 | 100% | ||
quicksnake | 0 | 0 | 100% | ||
weiching | 0 | 27,334,031,136 | 16% | ||
iguazi123 | 0 | 0 | 100% | ||
itsok | 0 | 1,998,271,338 | 100% | ||
liuye | 0 | 10,942,609,123 | 100% | ||
dailychina | 0 | 720,592,548 | 7.38% | ||
momok | 0 | 355,021,405 | 100% | ||
nostalgic1212 | 0 | 825,042,641 | 100% | ||
smilemen | 0 | 0 | 100% | ||
also.einstein | 0 | 93,378,566 | 100% | ||
objc0 | 0 | 0 | 100% | ||
dtubix | 0 | 0 | 50% | ||
happymikes | 0 | 513,474,227 | 3% | ||
nationalss | 0 | 0 | 100% | ||
hhjjkk | 0 | 319,827,000 | 100% | ||
steemh | 0 | 87,488,079,013 | 100% | ||
laijihua | 0 | 0 | 100% | ||
python-think | 0 | 0 | 100% |
steemconnect的文档目前还是比较欠缺的。
author | ety001 |
---|---|
permlink | re-skenan-steem-connect-v2-20180210t013041314z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 01:30:42 |
last_update | 2018-02-10 01:30:42 |
depth | 1 |
children | 7 |
last_payout | 2018-02-17 01:30:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 25 |
author_reputation | 57,395,188,397,494 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,296,379 |
net_rshares | 0 |
不过接口都比较全了,配合 https://v2.steemconnect.com/docs/steemjs 写东西还是很容易的..
author | skenan |
---|---|
permlink | re-ety001-re-skenan-steem-connect-v2-20180210t013217446z |
category | cn |
json_metadata | {"tags":["cn"],"links":["https://v2.steemconnect.com/docs/steemjs"],"app":"steemit/0.1"} |
created | 2018-02-10 01:32:18 |
last_update | 2018-02-10 01:32:18 |
depth | 2 |
children | 6 |
last_payout | 2018-02-17 01:32:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 8,219,510,746,132 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,296,609 |
net_rshares | 0 |
目前,SteemEditor的开发是基于 sc2 和 vue 的。基础功能已经搞定了,可以通过 steemconnect 登陆并发文,还有一个小问题没有解决,就是如何设定收益。
author | ety001 |
---|---|
permlink | re-skenan-re-ety001-re-skenan-steem-connect-v2-20180210t013927031z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 01:39:27 |
last_update | 2018-02-10 01:39:27 |
depth | 3 |
children | 5 |
last_payout | 2018-02-17 01:39:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.412 HBD |
curator_payout_value | 0.088 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 88 |
author_reputation | 57,395,188,397,494 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,297,687 |
net_rshares | 208,745,561,678 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
skenan | 0 | 208,745,561,678 | 100% |
Upvoted ☝ Have a great day!
author | happymikes |
---|---|
permlink | re-skenan-steem-connect-v2-20180211t003517361z |
category | cn |
json_metadata | "" |
created | 2018-02-10 15:38:06 |
last_update | 2018-02-10 15:38:06 |
depth | 1 |
children | 0 |
last_payout | 2018-02-17 15:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 27 |
author_reputation | 41,662,244,194 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,442,428 |
net_rshares | 0 |
看到现在的steem越来越有活力真的好开心
author | hhjjkk |
---|---|
permlink | re-skenan-steem-connect-v2-20180210t034430631z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 03:44:36 |
last_update | 2018-02-10 03:44:36 |
depth | 1 |
children | 1 |
last_payout | 2018-02-17 03:44:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 21 |
author_reputation | 684,424,592,252 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,317,622 |
net_rshares | 124,788,442 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
rileyge | 0 | 124,788,442 | 10% |
哈哈,因为每个人都是股东
author | skenan |
---|---|
permlink | re-hhjjkk-re-skenan-steem-connect-v2-20180210t071206404z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 07:12:06 |
last_update | 2018-02-10 07:12:06 |
depth | 2 |
children | 0 |
last_payout | 2018-02-17 07:12:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 12 |
author_reputation | 8,219,510,746,132 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,350,994 |
net_rshares | 0 |
@dapeng 哥 让我给你留言 说你可以帮助把 使用steem如何开发个人站点的内容补充到新书里 我觉得 很多开发,不能顺利的使用steem作为基础开发站点,主要原因是开发文档的缺失。 如果能够以busy为例,或者单独新做一个很简单的网站,能够从头开始一步步完成的示例,那就更好了,肯定会受到很多人的欢迎。 这是我的个人想法。。希望能够采纳 哈哈
author | hui.zhao |
---|---|
permlink | re-skenan-steem-connect-v2-20180214t065738492z |
category | cn |
json_metadata | {"tags":["cn"],"users":["dapeng"],"app":"steemit/0.1"} |
created | 2018-02-14 06:57:06 |
last_update | 2018-02-14 06:57:06 |
depth | 1 |
children | 1 |
last_payout | 2018-02-21 06:57:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.346 HBD |
curator_payout_value | 0.115 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 174 |
author_reputation | 3,520,187,684,701 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 37,407,881 |
net_rshares | 66,168,783,866 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
skenan | 0 | 66,168,783,866 | 35% | ||
sailei1 | 0 | 0 | 100% |
我觉得挺好的建议,我想找几个有兴趣的程序员从头开发一个steem竞猜的网站,类似steem 体彩中心,每个人都可以在上边发表竞猜的活动。。不过最近过年比较忙,得年后了。。
author | skenan |
---|---|
permlink | re-huizhao-re-skenan-steem-connect-v2-20180214t091243174z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-14 09:12:33 |
last_update | 2018-02-14 09:12:33 |
depth | 2 |
children | 0 |
last_payout | 2018-02-21 09:12:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 85 |
author_reputation | 8,219,510,746,132 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 37,432,644 |
net_rshares | 0 |
本文已收进steemh.org
author | maiyude |
---|---|
permlink | re-skenan-steem-connect-v2-20180403t151617120z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-04-03 15:16:18 |
last_update | 2018-04-03 15:16:18 |
depth | 1 |
children | 0 |
last_payout | 2018-04-10 15:16:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 15 |
author_reputation | 8,970,701,360,387 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 48,135,114 |
net_rshares | 0 |
是不是所谓的授权成功就是把xxx.app 这个账户加到用户的对应权限里? 我看好多用户账户的posting权限那显示着busy和乌托邦之类的
author | oflyhigh |
---|---|
permlink | re-skenan-steem-connect-v2-20180210t020448909z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 02:04:51 |
last_update | 2018-02-10 02:04:51 |
depth | 1 |
children | 3 |
last_payout | 2018-02-17 02:04:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.252 HBD |
curator_payout_value | 0.008 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 70 |
author_reputation | 6,273,555,630,010,499 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,301,761 |
net_rshares | 36,211,618,390 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
skenan | 0 | 36,211,618,390 | 19% |
用的多重签名--multi-authority, 应该是把你的权限给xxx.app账号了,我记得你写过类似的呢 具体可以看这篇 [Steem multi-authority permissions and how Posting authority works](https://steemit.com/esteem/@good-karma/steem-multi-authority-permissions-and-how-posting-authority-works-2017529t84022790z)
author | skenan |
---|---|
permlink | re-oflyhigh-re-skenan-steem-connect-v2-20180210t020949062z |
category | cn |
json_metadata | {"tags":["cn"],"links":["https://steemit.com/esteem/@good-karma/steem-multi-authority-permissions-and-how-posting-authority-works-2017529t84022790z"],"app":"steemit/0.1"} |
created | 2018-02-10 02:09:48 |
last_update | 2018-02-10 02:10:18 |
depth | 2 |
children | 2 |
last_payout | 2018-02-17 02:09:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 256 |
author_reputation | 8,219,510,746,132 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,302,497 |
net_rshares | 0 |
嗯,多签相关文章我写过,我们茶馆就用的多签 但是感觉把自己账户里签一堆APP还是有点不舒服,强迫症患者往往都有洁癖😀
author | oflyhigh |
---|---|
permlink | re-skenan-re-oflyhigh-re-skenan-steem-connect-v2-20180210t031137726z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 03:11:48 |
last_update | 2018-02-10 03:11:48 |
depth | 3 |
children | 1 |
last_payout | 2018-02-17 03:11:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 58 |
author_reputation | 6,273,555,630,010,499 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,312,050 |
net_rshares | 0 |
**Your Post Has Been Featured on @Resteemable!** <br> Feature any Steemit post using resteemit.com! <br> **How It Works:** <br> 1. Take Any Steemit URL <br> 2. Erase `https://` <br> 3. Type `re`<br> Get Featured Instantly � Featured Posts are voted every 2.4hrs <br>[Join the Curation Team Here](https://goo.gl/forms/4sr0InoTxcyPRQSj2) | [Vote Resteemable for Witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=resteemable&approve=1)
author | resteemable |
---|---|
permlink | re-resteemable-steem-connect-v2-20180211t101328719z |
category | cn |
json_metadata | "" |
created | 2018-02-11 10:13:30 |
last_update | 2018-02-11 10:13:30 |
depth | 1 |
children | 0 |
last_payout | 2018-02-18 10:13:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 453 |
author_reputation | 711,299,530,826 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,635,104 |
net_rshares | 0 |
This post has received an upvote from spotlight thanks to: @resteemable.
author | resteemable |
---|---|
permlink | re-resteemable-steem-connect-v2-20180212t221214288z |
category | cn |
json_metadata | "" |
created | 2018-02-12 22:12:15 |
last_update | 2018-02-12 22:12:15 |
depth | 1 |
children | 0 |
last_payout | 2018-02-19 22:12:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 72 |
author_reputation | 711,299,530,826 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 37,039,728 |
net_rshares | 0 |
今天恰好看到你文章最后说的一句话。我们商议一下,统一一下。 我也想把中文区开发的文章想集合在一起,我用了一个cn-bug(中国虫,调侃意味比较强),然后看到@ety001在用cn-dev这标签。不如我们三个人商议一个,弄一个集中的标签吧。
author | rileyge |
---|---|
permlink | re-skenan-steem-connect-v2-20180210t110438192z |
category | cn |
json_metadata | {"tags":["cn"],"users":["ety001"],"app":"steemit/0.1"} |
created | 2018-02-10 11:04:39 |
last_update | 2018-02-10 11:04:39 |
depth | 1 |
children | 2 |
last_payout | 2018-02-17 11:04:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.428 HBD |
curator_payout_value | 0.110 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 120 |
author_reputation | 653,045,365,520 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,389,096 |
net_rshares | 73,640,137,061 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
skenan | 0 | 73,515,348,619 | 35% | ||
rileyge | 0 | 124,788,442 | 10% |
其实早就有倡议使用cn-programming 这个标签了,可能你们来的比较晚...
author | skenan |
---|---|
permlink | re-rileyge-re-skenan-steem-connect-v2-20180210t195541904z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-10 19:55:42 |
last_update | 2018-02-10 19:55:42 |
depth | 2 |
children | 1 |
last_payout | 2018-02-17 19:55:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 42 |
author_reputation | 8,219,510,746,132 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,491,109 |
net_rshares | 0 |
刚才也和O哥讨论一下,他和我说了,@abit提议的,但感觉大家用的并不是很多啊,而且感觉这个名字好长
author | rileyge |
---|---|
permlink | re-skenan-re-rileyge-re-skenan-steem-connect-v2-20180211t033421605z |
category | cn |
json_metadata | {"tags":["cn"],"users":["abit"],"app":"steemit/0.1"} |
created | 2018-02-11 03:32:36 |
last_update | 2018-02-11 03:32:36 |
depth | 3 |
children | 0 |
last_payout | 2018-02-18 03:32:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 50 |
author_reputation | 653,045,365,520 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,566,137 |
net_rshares | 0 |
用你的二次开发看看能不能submit
author | rileyge |
---|---|
permlink | re-skenan-steem-connect-v2-20180212t061350035z |
category | cn |
json_metadata | "" |
created | 2018-02-12 06:12:06 |
last_update | 2018-02-12 06:12:06 |
depth | 1 |
children | 0 |
last_payout | 2018-02-19 06:12:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 18 |
author_reputation | 653,045,365,520 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,853,514 |
net_rshares | 124,788,442 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
rileyge | 0 | 124,788,442 | 10% |
问一个问题。 > 当用户授权成功后,服务器会返回一个Access Token, 通过该 token 调用 Steemconnect的API,进行点赞,评论,发帖等相关操作。 是不是我得到授权之后每个页面都要加那个长尾巴,要不就没有授权? http://localhost/index-sc2.html?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYXBwIiwicHJveHkiOiJzdGVlbXRoaW5rLmNvbSIsInVzZXIiOiJyaWxleWdlIiwic2NvcGUiOlsidm90ZSIsImNvbW1lbnQiXSwiaWF0IjoxNTE4NDE2NTk4LCJleHAiOjE1MTkwMjEzOTh9.2XzMx8M-jcQww4FXSaKHqrf75cRpSuJO6i0mzWiT7zI&expires_in=604800&username=rileyge
author | rileyge |
---|---|
permlink | re-skenan-steem-connect-v2-20180212t062913504z |
category | cn |
json_metadata | {"tags":["cn"],"links":["http://localhost/index-sc2.html?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYXBwIiwicHJveHkiOiJzdGVlbXRoaW5rLmNvbSIsInVzZXIiOiJyaWxleWdlIiwic2NvcGUiOlsidm90ZSIsImNvbW1lbnQiXSwiaWF0IjoxNTE4NDE2NTk4LCJleHAiOjE1MTkwMjEzOTh9.2XzMx8M-jcQww4FXSaKHqrf75cRpSuJO6i0mzWiT7zI&expires_in=604800&username=rileyge"],"app":"steemit/0.1"} |
created | 2018-02-12 06:27:27 |
last_update | 2018-02-12 06:27:27 |
depth | 1 |
children | 1 |
last_payout | 2018-02-19 06:27:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 439 |
author_reputation | 653,045,365,520 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,856,313 |
net_rshares | 0 |
还有一个问题,授权后到达的页面只能是指定的页面吗?不能跳转授权前的页面吗?还是需要自己在指定页面写程序跳转。
author | rileyge |
---|---|
permlink | re-rileyge-re-skenan-steem-connect-v2-20180212t063522941z |
category | cn |
json_metadata | {"tags":["cn"],"app":"steemit/0.1"} |
created | 2018-02-12 06:33:36 |
last_update | 2018-02-12 06:33:36 |
depth | 2 |
children | 0 |
last_payout | 2018-02-19 06:33:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 54 |
author_reputation | 653,045,365,520 |
root_title | "基于 Steem Connect V2 开发应用" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,857,421 |
net_rshares | 0 |