g’</strong> indicates <code class="highlighter-rouge">condenser_api.get_discussions_by_blog</code> and somewhat counter-intuitively <em>query.tag</em> indicates the account from which we want to get posts.</p>

<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    client.database
        .getDiscussions('blog', query)
        .then(result =&gt; {
            var posts = [];
            result.forEach(post =&gt; {
                const json = JSON.parse(post.json_metadata);