steem-js icon indicating copy to clipboard operation
steem-js copied to clipboard

How to filter basing on parent_permalink in getDiscussionsByCreated method

Open swapnachippagi opened this issue 6 years ago • 1 comments

in this url link to steemit (discussion_query) , i have given parent_permalink but geting unknown key error

var query = {
    tag: 'dmania',
    limit: 10,
	 
	parent_author :'dmania',
  parent_permlink:'dmania'
};
steem.api.getDiscussionsByCreated(query, function(err, result) {
   console.log(err, result);
 
});

how can i get only from the parent_permalink ? Thanks

swapnachippagi avatar Jun 20 '18 08:06 swapnachippagi

Is there a way to solve this , what about parent_author to be a null value getting

Error: unknown key:unknown key: 
    at new e (steem.min.js:4)
    at steem.min.js:4 undefined

yashwanth2804 avatar Jun 20 '18 08:06 yashwanth2804