Closed DevGorilla closed 7 years ago
Adding .json to the request causes some calls in the Ads API to fail such as the call for for paginating.
${adsAPIHost}/accounts/${accountId}/promoted_tweets?cursor=${body.next_cursor}
This optional boolean on the Get path means users can override adding .json for these edge cases while retaining functionality for the other APIs.
https://github.com/desmondmorris/node-twitter/pull/232 is a better solution.
Adding .json to the request causes some calls in the Ads API to fail such as the call for for paginating.
${adsAPIHost}/accounts/${accountId}/promoted_tweets?cursor=${body.next_cursor}
This optional boolean on the Get path means users can override adding .json for these edge cases while retaining functionality for the other APIs.