Closed JamelHammoud closed 12 months ago
Closes #88 You can now delete posts! I also updated the publish function to return the published post ID.
publish
ID
You can use it like this:
const threadsAPI = new ThreadsAPI({ username: 'jamel.hammoud', password: 'PASSWORD, }); const postId = await threadsAPI.publish('This will delete in 2 seconds'); setTimeout(() => { threadsAPI.delete(postId); }, 2000);
Thanks 😉 @JamelHammoud
Closes #88 You can now delete posts! I also updated the
publish
function to return the published postID
.You can use it like this: