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