You are viewing a single comment's thread from:

RE: Avatar and cover images for your Steem apps

in #steemdev7 years ago (edited)

great work as always @fabien. I would like to know how to contact you on the Steem JS.

Specifically, how does one parse the string metadata retrieved by

steem.api.getAccounts(['ned', 'dan'], function(err, response){
}

so as to retrieve the only the profile metadata string as JSON? that is where the profile info is including the profile picture URL. how does one retrieve this JSON string which is again embedded inside the callback JSON result?

"json_metadata":"{"profile":{"profile_image":....."

Sort:  

JSON.parse() will help you

Coin Marketplace

STEEM 0.20
TRX 0.24
JST 0.037
BTC 97001.71
ETH 3368.75
USDT 1.00
SBD 3.07