Hey guys, I'm trying to post an existing tweet and I'm getting the following error. This error is correct as I want to insert the same text. The problem is that I need it to be the same tweet. Is there a way to get the tweet id when I get the duplicate error without performing a search? (with free access I can't search the tweet)
In this way I will be able to delete the existing tweet and thus publish the new tweet! Thank you for reading
Hey guys, I'm trying to post an existing tweet and I'm getting the following error. This error is correct as I want to insert the same text. The problem is that I need it to be the same tweet. Is there a way to get the tweet id when I get the duplicate error without performing a search? (with free access I can't search the tweet) In this way I will be able to delete the existing tweet and thus publish the new tweet! Thank you for reading
error: true, type: 'response', code: 403, headers: { date: 'Tue, 25 Apr 2023 11:28:02 UTC', perf: '7626143928', server: 'tsa_d', 'set-cookie': [], 'api-version': '2.62', 'content-type': 'application/json; charset=utf-8', 'cache-control': 'no-cache, no-store, max-age=0', 'content-length': '131', 'x-access-level': 'read-write', 'x-frame-options': 'SAMEORIGIN', 'content-encoding': 'gzip', 'x-transaction-id': 'e92f067a164a24a1', 'x-xss-protection': '0', 'x-rate-limit-limit': '40000', 'x-rate-limit-reset': '1682422975', 'content-disposition': 'attachment; filename=json.json', 'x-content-type-options': 'nosniff', 'x-rate-limit-remaining': '39998', 'strict-transport-security': 'max-age=631138519', 'x-response-time': '177', 'x-connection-hash': '82321542ff2223947240aac772f3ae42c41fe68841b80e66dea5b998f58d5d77', connection: 'close' }, rateLimit: { limit: 40000, remaining: 39998, reset: 1682422975 }, data: { detail: 'You are not allowed to create a Tweet with duplicate content.', type: 'about:blank', title: 'Forbidden', status: 403 } }