-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client.broadcast.comment does not return a status #41
Comments
Hey @RubenMR I've got the same issue. Can you see your content on Steemit? |
Hey @SirVeryBritish, I can see the content even though that function does not return anything. function post(req,res){ var beneficiaries = new Array(); steem2.broadcast.send(
); |
hi, when I try to post a new post, I use this code:
var dsteem = require('dsteem');
var client = new dsteem.Client('https://api.steemit.com');
....
client.broadcast.comment({
category: "a1",
parent_author:parent_author,
parent_permlink:primaryTag,
author:author,
permlink:permlink,
title:title,
body:body,
json_metadata: JSON.stringify({ tags: ['test', 'test-2', 'test-3'] }),
last_update: "string",
created:new Date().toDateString(),
children: 7,
max_accepted_payout:'1000000.000 SBD',
percent_steem_dollars: 10000,
allow_replies: true,
allow_votes: true,
allow_curation_rewards: true,
//beneficiaries:[{ account: 'gastonve', weight: 1000 }]
extensions: [
[0, {
beneficiaries: [{
account: "gastonve",
weight: 1000
}]
}]
]
},key, (err, steemResponse) => {
if (err) {
console.log(err);
return res.status(500).send({ message: 'Error:' + err });
}
else {
return res.status(200).send({ message: steemResponse });
}
});
but this does not return any status. what am I missing? please let me know
The text was updated successfully, but these errors were encountered: