co"># alternatively, we can adapt the wrapper function by ourselves to include the option to sort by total interactions</span></span>
<span id="cb21-26"><a href="crowdtangle-api.html#cb21-26" tabindex="-1"></a>ct_get_posts <span class="ot">&lt;-</span> <span class="cf">function</span>(<span class="at">x =</span> <span class="st">&quot;&quot;</span>, <span class="at">searchTerm =</span> <span class="st">&quot;&quot;</span>, <span class="at">language =</span> <span class="st">&quot;&quot;</span>, <span class=