Hello,
Is there any Twitter API to get whether User has enabled “Receive Direct Messages from anyone” options in their privacy/safety tab of Profile?
Hi @mansishah5544 - I believe you will find the following post to be relevant.
This post explains that:
The account settings object has an allow_dms_from field which indicates who can DM a user, either in a private one-on-one thread or in a group thread. Possible values include “following” (only users you are following are allowed to DM you) and “all” (allow any user on Twitter to DM you).
Thanks for your reply.