it’s always return:
statusCode: 403,
data: ‘{“errors”:[{“code”:385,“message”:“You attempted to reply to a Tweet that is deleted or not visible to you.”}]}’
here is the function

I have tried using id and id_str, both didn’t work.
The tweet I am trying to reply is exist in public
“twitter/hkairbot/status/1446054313587924994”
Any hints are much appreciated.
One thing that might be related to it is the account has previously setted to private hours ago.
Had also tried:
regenerate tokens
passing in_reply_to_status_id_str
passing as string
none work for me.
tried using the package twit and same error occurs when replying a public tweet(id:1446074667739926500).
I suspect it might be the api isn’t updated the visibility of my account.
any direction are greatly appreciated.
The URL you pointed to (https://twitter.com/hkairbot/status/1446054313587924994) points to a Tweet that’s been deleted, so the API is giving you an error to say you can’t reply to it anymore.
1 Like
Much thanks for the reply, I did delete that after fail attempt of reply.
Just comfirmed it’s still the case.
https://twitter.com/hkairbot/status/1446174147822821378
returned the same error of 385 in this function alone.
I can’t not get my head of why this is the case.
I did tagged the corresponding on the reply and tweet id.
system
Closed
#7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.