create account

使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain by oflyhigh

View this thread on: hive.blogpeakd.comecency.com
· @oflyhigh · (edited)
$290.59
使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain
![](https://steemitimages.com/DQmaQT5AF2xEzBRHk4SZWFJyRe4CGP54mzuc2bkHTk1i5aN/image.png)

话说,PHP是世界上最好的语言,咳咳。但是这个最好的语言,我大概有7-8年没有去使用了,现在几乎已经不会用啦。之前学习和写的和STEEM区块链相关的程序都是用的Python。今天突然冒出个想法,写个PHP访问STEEM区块链的简单的例子。然后,写的时候才发现,各种不习惯。其实Python我也没没学两天,PHP则正经八百的用过好长时间呢,结果我觉得我完全变成PHP初学者了。好在,这个语言还算好学。于是磕磕绊绊写了一个程序,然后发现各种不优雅,简化简化简化,简化成现在这个样子了。为了演示核心流程,不包含任何错误处理之类的。

PHP is one of the popular programming languages,today, I wrote a simple PHP script to query the STEEM blockchain.

#### PHP程序 / The Script

闲话少叙,直接上脚本

```
<?
class Steemd
{
    private $ch;
    function __construct(){
      $this->ch = curl_init();
      curl_setopt($this->ch, CURLOPT_URL, 'https://steemd.steemit.com');
      curl_setopt($this->ch, CURLOPT_RETURNTRANSFER, TRUE);
    }

    function __destruct() {
      curl_close($this->ch);
    }

    private function json_rpc_body($method, $params){
        $request = array(
            "jsonrpc" => "2.0",
            "method" => $method,
            "params" => $params,
            "id" => 0
            );
        return json_encode($request);
    }

    public function exec($method, $params = array()) {
        $data = $this->json_rpc_body($method, $params);
        curl_setopt($this->ch, CURLOPT_POSTFIELDS, $data);
        $response = curl_exec($this->ch);
        $response = json_decode($response, true);
        if (array_key_exists('error', $response)) {
          var_dump($response['error']);
          die();
        }
        return $response['result'];
    }

    public function get_account($account){
        $result = $this->exec('get_accounts', [[$account]]);
        return $result;
    }
}

$steemd = new Steemd;
echo('<pre>');
print_r($steemd->exec(get_chain_properties,[]));
print_r($steemd->get_account('oflyhigh'));
echo('</pre>');

//unset($steemd);
?>
```

# 简单解释 / Explain

程序分成两部分 
* Steemd类
* 测试代码

This script is divided into two parts, ***Steemd Class*** and ***some simple testing codes***


####  Steemd类 / Steemd Class 

使用PHP curl 来执行HTTP请求, 使用'https://steemd.steemit.com'作为请求节点。
I use curl to execute HTTP requests, use 'https://steemd.steemit.com' as RPC  node.

Steemd Class 提供两个接口,***exec***以及***get_account***
There are two methods provided by Steemd Class , ***exec*** and ***get_account***.

***exec***是底层接口,你可以直接调用这个接口来执行steem blockchain API 操作。
***exec*** is low level interface, you can call it directly to perform operations to query steem blockchain.

***get_account***是对***exe***的封装,对用户更加友好,它仅仅是一个封装示例,你可以封装更多的功能。
***get_account*** is a user friendly encapsulation for ***exe***, it just a example, you can encapsulate more functions yourself.

####  测试代码 / Testing codes

就是简单测试一下而已,没啥可以说的
用print_r让结果看起来更好看

Some simple testing codes to test Steemd class and two interfaces  ***exec*** and ***get_account***
Use print_r to make the results look better.

# 运行结果 / Results
![](https://steemitimages.com/DQmPzr2irGRSVXmsWqHdCqQbyN4UjQUzC9J6MqztTMVN1Jg/image.png)

----
![](https://steemitimages.com/DQmdpjTzeVuSzSFZW1gpsN1zxynHrsJCCytLFmpQJjJUQkT/image.png)
脚本仅供参考,使用风险自负!
This script is for reference only, use it at your own risk.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 307 others
properties (23)
authoroflyhigh
permlinkphp-steem-using-php-to-query-the-steem-blockchain
categorycn
json_metadata{"tags":["cn","cn-programming","steemdev","php","steem"],"image":["https://steemitimages.com/DQmaQT5AF2xEzBRHk4SZWFJyRe4CGP54mzuc2bkHTk1i5aN/image.png","https://steemitimages.com/DQmPzr2irGRSVXmsWqHdCqQbyN4UjQUzC9J6MqztTMVN1Jg/image.png","https://steemitimages.com/DQmdpjTzeVuSzSFZW1gpsN1zxynHrsJCCytLFmpQJjJUQkT/image.png"],"links":["https://steemd.steemit.com"],"app":"steemit/0.1","format":"markdown"}
created2017-08-10 12:56:54
last_update2017-08-11 13:00:24
depth0
children68
last_payout2017-08-17 12:56:54
cashout_time1969-12-31 23:59:59
total_payout_value242.436 HBD
curator_payout_value48.155 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,097
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,388,796
net_rshares83,753,265,141,622
author_curate_reward""
vote details (371)
@abo-salah ·
Powerful stuff . Keep it coming
properties (22)
authorabo-salah
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t145425142z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:56:15
last_update2017-08-10 14:56:15
depth1
children0
last_payout2017-08-17 14:56: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_length31
author_reputation11,342,762,741
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,404,774
net_rshares0
@ahlawat ·
Your post is very good. Keep adding the same posts even further. and keep voteing @ahlawat
👍  
properties (23)
authorahlawat
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t134907717z
categorycn
json_metadata{"tags":["cn"],"users":["ahlawat"],"app":"steemit/0.1"}
created2017-08-10 13:49:09
last_update2017-08-10 13:49:09
depth1
children0
last_payout2017-08-17 13:49:09
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_length90
author_reputation48,755,975,904,528
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,396,268
net_rshares56,029,660
author_curate_reward""
vote details (1)
@alihelal ·
NICE MEN
👍  
properties (23)
authoralihelal
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t134209542z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:42:09
last_update2017-08-10 13:42:09
depth1
children0
last_payout2017-08-17 13:42:09
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_length8
author_reputation12,863,777,988
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,395,154
net_rshares86,862,569
author_curate_reward""
vote details (1)
@amarmech595 ·
Great... please upvote me
properties (22)
authoramarmech595
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t035750477z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 03:57:48
last_update2017-08-11 03:57:48
depth1
children0
last_payout2017-08-18 03:57: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_length25
author_reputation24,036,007,979
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,463,169
net_rshares0
@arathron ·
Hi Guys, 
Check out free courses on my blog! Many various courses 100% discount! 

First part here! 
https://steemit.com/education/@arathron/free-udemy-online-courses-1
properties (22)
authorarathron
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t221440047z
categorycn
json_metadata{"tags":["cn"],"links":["https://steemit.com/education/@arathron/free-udemy-online-courses-1"],"app":"steemit/0.1"}
created2017-08-10 22:14:42
last_update2017-08-10 22:14:42
depth1
children0
last_payout2017-08-17 22:14:42
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_length168
author_reputation24,676,321,996
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,441,375
net_rshares0
@arcange ·
Congratulations @oflyhigh!
Your post was mentioned in the [hit parade](https://steemit.com/hit-parade/@arcange/daily-hit-parade-20170810) in the following categories:

* Upvotes - Ranked 7 with 345 upvotes
* Pending payout - Ranked 3 with $ 333,02
properties (22)
authorarcange
permlinkre-php-steem-using-php-to-query-the-steem-blockchain-20170810t163908000z
categorycn
json_metadata""
created2017-08-11 14:37:57
last_update2017-08-11 14:37:57
depth1
children0
last_payout2017-08-18 14:37: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_length248
author_reputation1,146,615,920,099,066
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,508,626
net_rshares0
@beautifulbella ·
这个好像只是提取资料。PHP如何可以登录,点赞,和发帖?
👍  
properties (23)
authorbeautifulbella
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t141043696z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:11:03
last_update2017-08-10 14:11:03
depth1
children3
last_payout2017-08-17 14:11: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_length28
author_reputation1,876,932,920,921
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,399,694
net_rshares5,168,888,708
author_curate_reward""
vote details (1)
@oflyhigh ·
😄 我估计我是学不会了
👍  
properties (23)
authoroflyhigh
permlinkre-beautifulbella-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t145843117z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:58:45
last_update2017-08-10 14:58:45
depth2
children0
last_payout2017-08-17 14:58:45
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_length11
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,405,015
net_rshares4,912,954,667
author_curate_reward""
vote details (1)
@timknip ·
你要学这个吗?
👍  
properties (23)
authortimknip
permlinkre-beautifulbella-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t152205230z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 15:22:06
last_update2017-08-10 15:22:06
depth2
children1
last_payout2017-08-17 15:22: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_length7
author_reputation6,242,419,242,242
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,407,287
net_rshares4,669,466,876
author_curate_reward""
vote details (1)
@beautifulbella ·
对呀:)
properties (22)
authorbeautifulbella
permlinkre-timknip-re-beautifulbella-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t124300639z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 12:43:21
last_update2017-08-11 12:43:21
depth3
children0
last_payout2017-08-18 12:43: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_length4
author_reputation1,876,932,920,921
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,497,609
net_rshares0
@changfly ·
Thanks a lot for knowledge:)
properties (22)
authorchangfly
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t065433127z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 06:54:33
last_update2017-08-11 06:54:33
depth1
children0
last_payout2017-08-18 06:54: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_length28
author_reputation1,716,963,591,584
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,473,300
net_rshares0
@coldhair ·
$0.09
我会说汉语,能看懂一点英语,哈哈
👍  
properties (23)
authorcoldhair
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t131209898z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:12:03
last_update2017-08-10 13:12:03
depth1
children1
last_payout2017-08-17 13:12:03
cashout_time1969-12-31 23:59:59
total_payout_value0.069 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation34,617,352,014,488
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,390,915
net_rshares27,084,168,462
author_curate_reward""
vote details (1)
@oflyhigh ·
厉害!
properties (22)
authoroflyhigh
permlinkre-coldhair-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t131933730z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:19:39
last_update2017-08-10 13:19:39
depth2
children0
last_payout2017-08-17 13:19:39
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_length3
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,392,002
net_rshares0
@cryptousage ·
The program looks good.
properties (22)
authorcryptousage
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t150821829z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 15:08:21
last_update2017-08-10 15:08:21
depth1
children0
last_payout2017-08-17 15: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_length23
author_reputation38,479,085,902
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,405,929
net_rshares0
@frankbuse ·
$0.78
Upvoted Resteemed and following all in this thread 
https://media.giphy.com/media/oYKjWCT5Gy6Os/giphy.gif
👍  ,
properties (23)
authorfrankbuse
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t202205694z
categorycn
json_metadata{"tags":["cn"],"image":["https://media.giphy.com/media/oYKjWCT5Gy6Os/giphy.gif"],"app":"steemit/0.1"}
created2017-08-10 20:22:06
last_update2017-08-10 20:22:06
depth1
children1
last_payout2017-08-17 20:22:06
cashout_time1969-12-31 23:59:59
total_payout_value0.589 HBD
curator_payout_value0.194 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation38,615,083,774
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,432,972
net_rshares230,625,039,520
author_curate_reward""
vote details (2)
@arathron ·
Hi @frankbuse, 
Check out free courses on my blog! Many various courses 100% discount! 

First part here! 
https://steemit.com/education/@arathron/free-udemy-online-courses-1
properties (22)
authorarathron
permlinkre-frankbuse-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t221521588z
categorycn
json_metadata{"tags":["cn"],"users":["frankbuse"],"links":["https://steemit.com/education/@arathron/free-udemy-online-courses-1"],"app":"steemit/0.1"}
created2017-08-10 22:15:24
last_update2017-08-10 22:15:24
depth2
children0
last_payout2017-08-17 22:15: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_length174
author_reputation24,676,321,996
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,441,426
net_rshares0
@guyverckw ·
php是什麼語言呀,我還停留在用perl去編程控制Modem的遠古時代呀。
properties (22)
authorguyverckw
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t085201760z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 08:52:03
last_update2017-08-11 08:52:03
depth1
children2
last_payout2017-08-18 08:52: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_length37
author_reputation121,609,723,418,181
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,480,889
net_rshares0
@oflyhigh ·
$0.04
威武
👍  
properties (23)
authoroflyhigh
permlinkre-guyverckw-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t120924838z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 12:09:30
last_update2017-08-11 12:09:30
depth2
children1
last_payout2017-08-18 12:09:30
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,494,686
net_rshares12,503,070,811
author_curate_reward""
vote details (1)
@guyverckw ·
這是無知的意思嗎?
properties (22)
authorguyverckw
permlinkre-oflyhigh-re-guyverckw-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t164213050z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 16:42:12
last_update2017-08-11 16:42:12
depth3
children0
last_payout2017-08-18 16:42: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_length9
author_reputation121,609,723,418,181
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,520,254
net_rshares0
@jubi ·
$0.09
终于不用python了 php可以看懂一点。
o哥 你会的语言可真多
👍  
properties (23)
authorjubi
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t125910059z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 12:59:18
last_update2017-08-10 12:59:18
depth1
children1
last_payout2017-08-17 12:59:18
cashout_time1969-12-31 23:59:59
total_payout_value0.071 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length34
author_reputation82,406,494,254,467
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,389,021
net_rshares27,559,329,312
author_curate_reward""
vote details (1)
@oflyhigh ·
我以前会N种语言,现在都忘干净了
properties (22)
authoroflyhigh
permlinkre-jubi-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t130225325z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:02:33
last_update2017-08-10 13:02:33
depth2
children0
last_payout2017-08-17 13:02: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_length16
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,389,483
net_rshares0
@justyy ·
PHP 写得真6
properties (22)
authorjustyy
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t130054349z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 13:00:54
last_update2017-08-11 13:00:54
depth1
children3
last_payout2017-08-18 13:00:54
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_length8
author_reputation280,616,224,641,976
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,499,216
net_rshares0
@oflyhigh ·
php 5.6
properties (22)
authoroflyhigh
permlinkre-justyy-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t130828519z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 13:08:33
last_update2017-08-11 13:08:33
depth2
children2
last_payout2017-08-18 13:08: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_length7
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,499,897
net_rshares0
@justyy ·
$2.03
现在是PHP7的世界了
不过你的代码 可以在PHP7运行没问题, 已经测试过了。
👍  
properties (23)
authorjustyy
permlinkre-oflyhigh-re-justyy-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t130958579z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 13:09:57
last_update2017-08-11 13:09:57
depth3
children1
last_payout2017-08-18 13:09:57
cashout_time1969-12-31 23:59:59
total_payout_value1.985 HBD
curator_payout_value0.043 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation280,616,224,641,976
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,500,011
net_rshares594,265,426,618
author_curate_reward""
vote details (1)
@kenchung ·
$2.09
哈哈其實怎麼人人都說PHP是最好的語言? 我只懂得很基本的PHP...
👍  
properties (23)
authorkenchung
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t110518535z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 11:05:15
last_update2017-08-11 11:05:15
depth1
children4
last_payout2017-08-18 11:05:15
cashout_time1969-12-31 23:59:59
total_payout_value1.565 HBD
curator_payout_value0.520 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation41,181,348,504,685
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,489,989
net_rshares606,645,956,339
author_curate_reward""
vote details (1)
@oflyhigh ·
哈哈哈,这是网络上的一个梗
properties (22)
authoroflyhigh
permlinkre-kenchung-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t120903351z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 12:09:09
last_update2017-08-11 12:09:09
depth2
children3
last_payout2017-08-18 12:09:09
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_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,494,658
net_rshares0
@kenchung ·
哈哈,查到了,所以基本上把PHP換上任何一種其他語言也可以的
properties (22)
authorkenchung
permlinkre-oflyhigh-re-kenchung-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t153454590z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 15:34:54
last_update2017-08-11 15:34:54
depth3
children2
last_payout2017-08-18 15:34:54
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_length30
author_reputation41,181,348,504,685
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,514,059
net_rshares0
@lovelygirl ·
mmmm very good thanks my friend ;)
👎  
properties (23)
authorlovelygirl
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t143436838z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:34:42
last_update2017-08-10 14:34:42
depth1
children0
last_payout2017-08-17 14:34:42
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_reputation-1,441,869,494,440
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,402,871
net_rshares0
author_curate_reward""
vote details (1)
@magicmonk ·
$2.03
O哥,確認一下,文章裡提到的exe是不是就是exec. 多謝。

> exe是底层接口,你可以直接调用这个接口来执行steem blockchain API 操作。
👍  
properties (23)
authormagicmonk
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t125218482z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 12:52:27
last_update2017-08-11 12:52:27
depth1
children2
last_payout2017-08-18 12:52:27
cashout_time1969-12-31 23:59:59
total_payout_value1.876 HBD
curator_payout_value0.155 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation1,102,979,384,492,809
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,498,447
net_rshares594,265,426,618
author_curate_reward""
vote details (1)
@oflyhigh ·
$0.12
哈哈,笔误笔误
已经修改过来
谢谢指正
👍  
properties (23)
authoroflyhigh
permlinkre-magicmonk-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t130128343z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 13:01:33
last_update2017-08-11 13:01:33
depth2
children1
last_payout2017-08-18 13:01:33
cashout_time1969-12-31 23:59:59
total_payout_value0.094 HBD
curator_payout_value0.030 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length19
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,499,281
net_rshares37,062,546,317
author_curate_reward""
vote details (1)
@magicmonk ·
不敢,多谢O哥传授秘笈
properties (22)
authormagicmonk
permlinkre-oflyhigh-re-magicmonk-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t212029685z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 21:20:33
last_update2017-08-11 21:20:33
depth3
children0
last_payout2017-08-18 21:20: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_length11
author_reputation1,102,979,384,492,809
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,542,166
net_rshares0
@majidawan ·
Thank you for sharing.
properties (22)
authormajidawan
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t141623495z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:16:24
last_update2017-08-10 14:16:24
depth1
children0
last_payout2017-08-17 14:16: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_length22
author_reputation835,950,226,667
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,400,498
net_rshares0
@miansaad ·
upvote to my posts i also upvoted u
properties (22)
authormiansaad
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t140051956z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:00:57
last_update2017-08-10 14:00:57
depth1
children0
last_payout2017-08-17 14:00: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_length35
author_reputation-13,405,342,152
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,398,120
net_rshares0
@misrori ·
$0.08
COOL
👍  
properties (23)
authormisrori
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t193847974z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 19:38:48
last_update2017-08-10 19:38:48
depth1
children0
last_payout2017-08-17 19:38:48
cashout_time1969-12-31 23:59:59
total_payout_value0.059 HBD
curator_payout_value0.019 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4
author_reputation20,447,544,397,525
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,429,367
net_rshares23,705,464,685
author_curate_reward""
vote details (1)
@mrahmouni ·
nice article. thanks for sharing i like the way you separatd the code
properties (22)
authormrahmouni
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t025344246z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 02:53:48
last_update2017-08-11 02:53:48
depth1
children0
last_payout2017-08-18 02:53: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_length69
author_reputation5,084,383,148
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,458,957
net_rshares0
@muliadilibra ·
Nice picture @oflyhigh

Please upvote me @muliadilibra
properties (22)
authormuliadilibra
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t153346419z
categorycn
json_metadata{"tags":["cn"],"users":["oflyhigh","muliadilibra"],"app":"steemit/0.1"}
created2017-08-10 15:33:57
last_update2017-08-10 15:33:57
depth1
children0
last_payout2017-08-17 15:33: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_length54
author_reputation398,199,466,163
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,408,418
net_rshares0
@namct ·
thank for sharing.
properties (22)
authornamct
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t133707912z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:37:27
last_update2017-08-10 13:37:27
depth1
children0
last_payout2017-08-17 13:37: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_length18
author_reputation309,993,482,869
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,394,486
net_rshares0
@oflyhigh ·
$0.12
PHP忘干净鸟😭
我居然把世界上最好的语言忘干净鸟😭


😭😭😭😭😭😭😭😭😭😭😭
👍  , ,
properties (23)
authoroflyhigh
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t125841559z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 12:58:48
last_update2017-08-10 12:58:48
depth1
children3
last_payout2017-08-17 12:58:48
cashout_time1969-12-31 23:59:59
total_payout_value0.102 HBD
curator_payout_value0.018 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length40
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,388,973
net_rshares35,165,778,589
author_curate_reward""
vote details (3)
@arathron ·
Hi @oflyhigh, 
Check out free courses on my blog! Many various courses 100% discount! 

Please follow me to be updated! 

First part here! 
https://steemit.com/education/@arathron/free-udemy-online-courses-1
properties (22)
authorarathron
permlinkre-oflyhigh-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t221552832z
categorycn
json_metadata{"tags":["cn"],"users":["oflyhigh"],"links":["https://steemit.com/education/@arathron/free-udemy-online-courses-1"],"app":"steemit/0.1"}
created2017-08-10 22:15:54
last_update2017-08-10 22:15:54
depth2
children0
last_payout2017-08-17 22:15: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_length207
author_reputation24,676,321,996
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,441,471
net_rshares0
@jubi ·
php 全宇宙第一☝️
properties (22)
authorjubi
permlinkre-oflyhigh-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t130219722z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:02:24
last_update2017-08-10 13:02:24
depth2
children1
last_payout2017-08-17 13:02: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_length11
author_reputation82,406,494,254,467
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,389,458
net_rshares0
@arathron ·
Hi @jubi, 
Check out free courses on my blog! Many various courses 100% discount! 

Please follow me to be updated! 

First part here! 
https://steemit.com/education/@arathron/free-udemy-online-courses-1
properties (22)
authorarathron
permlinkre-jubi-re-oflyhigh-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t221613341z
categorycn
json_metadata{"tags":["cn"],"users":["jubi"],"links":["https://steemit.com/education/@arathron/free-udemy-online-courses-1"],"app":"steemit/0.1"}
created2017-08-10 22:16:15
last_update2017-08-10 22:16:15
depth3
children0
last_payout2017-08-17 22:16: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_length203
author_reputation24,676,321,996
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,441,499
net_rshares0
@padmakshi ·
great
properties (22)
authorpadmakshi
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t083158826z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 08:32:03
last_update2017-08-11 08:32:03
depth1
children0
last_payout2017-08-18 08:32: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_length5
author_reputation1,095,407,523,576
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,479,599
net_rshares0
@poiseulle ·
求互粉啊
properties (22)
authorpoiseulle
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t182825547z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 18:28:24
last_update2017-08-10 18:28:24
depth1
children0
last_payout2017-08-17 18:28: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_length4
author_reputation5,133,818,705
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,423,779
net_rshares0
@ridwan-kamil ·
A good news..
properties (22)
authorridwan-kamil
permlinkre-oflyhigh-2017811t82934573z
categorycn
json_metadata{"tags":"cn","app":"esteem/1.4.6","format":"markdown+html","community":"esteem"}
created2017-08-11 01:29:42
last_update2017-08-11 01:29:42
depth1
children0
last_payout2017-08-18 01:29:42
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_reputation2,799,555,534,121
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries
0.
accountesteemapp
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,453,747
net_rshares0
@rudalt ·
it's great, can be guide for beginner
properties (22)
authorrudalt
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t193304000z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 19:33:09
last_update2017-08-10 19:33:09
depth1
children1
last_payout2017-08-17 19:33:09
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_length37
author_reputation326,379,175,068
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,428,902
net_rshares0
@arathron ·
Hi @rudalt, 
Check out free courses on my blog! Many various courses 100% discount! 

Please follow me to be updated! 

First part here! 
https://steemit.com/education/@arathron/free-udemy-online-courses-1
properties (22)
authorarathron
permlinkre-rudalt-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t221645327z
categorycn
json_metadata{"tags":["cn"],"users":["rudalt"],"links":["https://steemit.com/education/@arathron/free-udemy-online-courses-1"],"app":"steemit/0.1"}
created2017-08-10 22:16:48
last_update2017-08-10 22:16:48
depth2
children0
last_payout2017-08-17 22:16: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_length205
author_reputation24,676,321,996
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,441,533
net_rshares0
@shango ·
Thanks for post! Chinese may be a barrier but code is universal ;)
properties (22)
authorshango
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t010106014z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 01:01:06
last_update2017-08-11 01:01:06
depth1
children0
last_payout2017-08-18 01:01: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_length66
author_reputation3,432,125,687,483
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,451,998
net_rshares0
@sharoon ·
very nice post
properties (22)
authorsharoon
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t081309647z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 08:13:06
last_update2017-08-11 08:13:06
depth1
children0
last_payout2017-08-18 08:13: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_length14
author_reputation-330,640,444,933
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,478,431
net_rshares0
@sogata ·
I think if steemit equipped with translation mode on post page we can read and understand all content by steemit user in different langguage. for more reason you can read here
https://steemit.com/steemit/@sogata/steemit-9-request-to-add-translation-mode-on-post-page-2017810t142621905z
👍  
properties (23)
authorsogata
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t145727703z
categorycn
json_metadata{"tags":["cn"],"links":["https://steemit.com/steemit/@sogata/steemit-9-request-to-add-translation-mode-on-post-page-2017810t142621905z"],"app":"steemit/0.1"}
created2017-08-10 14:57:18
last_update2017-08-10 14:57:18
depth1
children0
last_payout2017-08-17 14:57:18
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_length285
author_reputation6,963,584,854,647
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,404,880
net_rshares895,105,228
author_curate_reward""
vote details (1)
@spiderlee3 · (edited)
Ok, but I'm not as good as you when it comes to programming , just meme only
Your good thats why I give you an UpVote , I think it add more that 5$  after I click the UpVote  button
👍  
properties (23)
authorspiderlee3
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t134218412z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:42:00
last_update2017-08-10 13:44:18
depth1
children0
last_payout2017-08-17 13:42: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_length181
author_reputation143,350,007,398
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,395,134
net_rshares1,120,021,357
author_curate_reward""
vote details (1)
@steemian69 ·
$2.13
Thanks Alot Bro I Always Wanted To Know How To Use The Steemit Api With PHP And It Appears I Have To Learn Json-RPC :)
👍  
properties (23)
authorsteemian69
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t092352114z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-11 10:24:27
last_update2017-08-11 10:24:27
depth1
children0
last_payout2017-08-18 10:24:27
cashout_time1969-12-31 23:59:59
total_payout_value1.598 HBD
curator_payout_value0.532 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation1,160,052,362,678
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,487,071
net_rshares619,026,486,060
author_curate_reward""
vote details (1)
@sweeti ·
哇!谢谢分享^^
properties (22)
authorsweeti
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170812t151617736z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-12 15:16:39
last_update2017-08-12 15:16:39
depth1
children0
last_payout2017-08-19 15:16:39
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_length8
author_reputation8,559,430,744,296
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,607,409
net_rshares0
@sylvia1997 ·
$0.10
O哥好厉害!
👍  
properties (23)
authorsylvia1997
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t132340265z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 13:23:39
last_update2017-08-10 13:23:39
depth1
children2
last_payout2017-08-17 13:23:39
cashout_time1969-12-31 23:59:59
total_payout_value0.071 HBD
curator_payout_value0.024 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation56,767,985,711,616
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,392,555
net_rshares28,034,490,163
author_curate_reward""
vote details (1)
@arathron ·
Hi @sylvia1997, 
Check out many various courses on my blog! 100% discount! Remember - FIRST COME FIRST SERVED! 

Please follow me to be updated! 

First part here! 
https://steemit.com/education/@arathron/free-udemy-online-courses-1
properties (22)
authorarathron
permlinkre-sylvia1997-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t221747263z
categorycn
json_metadata{"tags":["cn"],"users":["sylvia1997"],"links":["https://steemit.com/education/@arathron/free-udemy-online-courses-1"],"app":"steemit/0.1"}
created2017-08-10 22:17:48
last_update2017-08-10 22:17:48
depth2
children0
last_payout2017-08-17 22:17: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_length232
author_reputation24,676,321,996
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,441,596
net_rshares0
@oflyhigh ·
😳
properties (22)
authoroflyhigh
permlinkre-sylvia1997-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t145920103z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 14:59:21
last_update2017-08-10 14:59:21
depth2
children0
last_payout2017-08-17 14:59: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_length1
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,405,071
net_rshares0
@taoufik ·
Nice nice
properties (22)
authortaoufik
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t162548598z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 16:26:03
last_update2017-08-10 16:26:03
depth1
children0
last_payout2017-08-17 16:26: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_length9
author_reputation203,549,071,834
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,413,293
net_rshares0
@techtek · (edited)
$0.67
Thanks for this how to, i wanted to give it a try for the SEEMPI project im working on and i have installed Curl and php and saved your code in index.php but when loading the file it displays code instead of the output:

The code that on page after loading index.php is  starting with:

ch = curl_init(); curl_setopt($this->ch, CURLOPT_URL, 'https://steemd.steemit.com');..............

........ending with: 
');
print_r($steemd->exec(get_chain_properties,[]));
print_r($steemd->get_account('oflyhigh'));
echo('
'); //unset($steemd); ?>

Any suggestions, what am i doing wrong ?
👍  ,
properties (23)
authortechtek
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170811t203533736z
categorycn
json_metadata{"tags":["cn"],"links":["https://steemd.steemit.com"],"app":"steemit/0.1"}
created2017-08-11 20:35:51
last_update2017-08-11 21:58:45
depth1
children2
last_payout2017-08-18 20:35:51
cashout_time1969-12-31 23:59:59
total_payout_value0.507 HBD
curator_payout_value0.167 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length578
author_reputation28,283,249,927,543
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,539,032
net_rshares201,185,685,438
author_curate_reward""
vote details (2)
@oflyhigh ·
$0.91
1.php
```
<?
echo("Hello World!");
?>
```
----

2.php
```
<?php
echo("Hello World!");
?>
```
----

Try above two example php files
If 2.php works well, then change my script as it. (Add php after <? )

If both of them don't work, you need to check your HTTP server setting, add php support to it.
👍  ,
properties (23)
authoroflyhigh
permlinkre-techtek-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170812t021855878z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-12 02:19:03
last_update2017-08-12 02:19:03
depth2
children1
last_payout2017-08-19 02:19:03
cashout_time1969-12-31 23:59:59
total_payout_value0.688 HBD
curator_payout_value0.227 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length296
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,559,693
net_rshares273,113,450,256
author_curate_reward""
vote details (2)
@techtek · (edited)
@oflyhigh , Thank you very much!

This is the first time i get Steem data back in to my project, very nice and exciting and Thanks thanks thanks!

Adding  <?php to the script solved the issue (2.php)

Few questions you maybe know the answer to / can help to point me to to right direction?
<br>


Question 1a. 
- How to strip the 168 lines that get echode back, for example the value of   [name], [sbd_balance], [balance],  [post_count]

Question 1b. 
-How to add a username input field and button to  index.php to activate and update the user from question 1a


Question 2 (Woud be awesome if you can make it work, it probably needs a bit more coding/extra file(?) but im not sure, maybe it can be solved with curl and in a more simple way. )

- On a new upvote i want to turn on a connected LED, the LED i can turn on and off with this line of code in the index.php:

exec ("gpio write 0 1");
exec ("gpio write 0 0");

For the project im working on i want to be able to switch on and off the connected LED light and this is working now with a button from within index.php but it would be very nice if the LED can be switched on "1" and off  "0"automatically with new upvotes (, replies and or transfer) on a specified account (1b) 

What i can give you in return:

1. Please add in a HTML-comment with your name and Steemit account and i will keep those in the project index.php to reference back to you.

2. I will make a banner and big thank you in my next project update post

3. i will transfer 3 SBD to show my gratitude to you if you can fix question 1a, 1b, and 2
(3 SBD is maybe not that much but for me 25 day old user it is quite much, if you dont agree with the amount please suggest a other amount)


Please help me a bit with the above questions i will be very thankful to you.

Will you light up my day ?
👍  
properties (23)
authortechtek
permlinkre-oflyhigh-re-techtek-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170812t080949076z
categorycn
json_metadata{"tags":["cn"],"users":["oflyhigh"],"app":"steemit/0.1"}
created2017-08-12 08:10:06
last_update2017-08-12 08:10:30
depth3
children0
last_payout2017-08-19 08:10: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_length1,820
author_reputation28,283,249,927,543
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,578,308
net_rshares677,066,647
author_curate_reward""
vote details (1)
@timknip ·
$2.08
php里用curl调用网络资源查询最好加上timeout,要不经常会100% cpu占用。
	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
	curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
👍  , , ,
properties (23)
authortimknip
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t153245423z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 15:32:45
last_update2017-08-10 15:32:45
depth1
children3
last_payout2017-08-17 15:32:45
cashout_time1969-12-31 23:59:59
total_payout_value1.682 HBD
curator_payout_value0.396 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length144
author_reputation6,242,419,242,242
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,408,292
net_rshares603,536,012,988
author_curate_reward""
vote details (4)
@oflyhigh ·
$0.10
谢谢
只是为了演示最基本的功能 😄
离实用十万八千里呢
👍  
properties (23)
authoroflyhigh
permlinkre-timknip-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t155647403z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 15:56:48
last_update2017-08-10 15:56:48
depth2
children2
last_payout2017-08-17 15:56:48
cashout_time1969-12-31 23:59:59
total_payout_value0.074 HBD
curator_payout_value0.025 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation6,307,244,835,363,533
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,410,678
net_rshares29,459,972,713
author_curate_reward""
vote details (1)
@timknip ·
意思是说以后你要返回世界上最好语言的大本营了?  嘿嘿
properties (22)
authortimknip
permlinkre-oflyhigh-re-timknip-re-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t160651582z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 16:06:51
last_update2017-08-10 16:06:51
depth3
children1
last_payout2017-08-17 16:06: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_length27
author_reputation6,242,419,242,242
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,411,607
net_rshares0
@tvb ·
都没有用过curl
properties (22)
authortvb
permlinkre-oflyhigh-php-steem-using-php-to-query-the-steem-blockchain-20170810t203727267z
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2017-08-10 20:37:33
last_update2017-08-10 20:37:33
depth1
children0
last_payout2017-08-17 20:37: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_length9
author_reputation35,178,037,825,802
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,434,309
net_rshares0
@yooraa ·
Friend of my support, for me who wrote. I need help from all friend, @yooraa, like. I will try my best in stringing words with the encouragement from esteem friend who faithful and can take me like you.
👍  
properties (23)
authoryooraa
permlinkre-oflyhigh-2017811t21854727z
categorycn
json_metadata{"tags":"cn","app":"esteem/1.4.6","format":"markdown+html","community":"esteem"}
created2017-08-10 19:19:00
last_update2017-08-10 19:19:00
depth1
children0
last_payout2017-08-17 19:19: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_length202
author_reputation560,660,454,067
root_title"使用PHP查询STEEM区块链 / Using PHP to query the STEEM blockchain"
beneficiaries
0.
accountesteemapp
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,427,616
net_rshares570,351,332
author_curate_reward""
vote details (1)