If the Twitter Message Sender Phantom returns an "Unable to find DM button" error, it means the DM button isn't visible on the target profile. This usually happens because the user restricts who can send them direct messages. Try following the profile first - if they allow DMs from followers, the button will appear once the follow is accepted. If the DM button is visible manually but the Phantom still fails, a Twitter layout change may be affecting the Phantom.
Why you’re seeing this
The error appears when the Phantom tries to send a DM but cannot detect the Direct Message (DM) button on the target profile. If the DM button isn’t visible, the Phantom can't deliver the message.
There are two main reasons the DM button may not be available:
-
DM restrictions - Some users restrict who can send them direct messages. They may only accept DMs from followers or select accounts. If you’re not in the allowed group, the DM button won't appear on their profile.
- Platform layout changes - Twitter occasionally updates its interface. If the layout of the DM button changes, the Phantom may not detect it properly even though the button is technically there.
How to fix it
Check the profile manually
Open the target profile in a browser while logged in with the same account connected to the Phantom. Look for the DM button (the envelope icon) on their profile.
If the DM button is not visible
The user has restricted their DMs. Try following the profile - if they allow DMs from followers, the button will appear once the follow is accepted. You can use the Twitter Auto Follow to follow profiles at scale before messaging.
If the DM button is visible but the error persists
This may indicate a Twitter layout update that prevents the Phantom from detecting the button. This is a PhantomBuster-side issue that our engineering team needs to investigate, contact Customer Care (see below).
Pre-screen your input list
If you're getting this error on many profiles, your input list likely contains users who restrict DMs. Consider filtering your list to target profiles that are more likely to accept messages. For example, accounts that follow you back, or accounts with open DM settings indicated in their bio.
Frequently asked questions
Can I send DMs to people who don't follow me?
Only if they've enabled "Allow message requests from everyone" in their privacy settings. Otherwise, you need to be someone they follow or have an existing conversation with.
Does following someone guarantee the DM button will appear?
Not always. It depends on their settings. Some users only accept DMs from people they follow back, while others restrict DMs entirely. Following increases your chances but doesn't guarantee access.
Will the Phantom skip profiles without a DM button?
Yes. The Phantom logs the error for that profile and continues processing the rest of your input list.
Does X Premium change who can DM whom?
X Premium (formerly Twitter Blue) subscribers can receive DMs from verified accounts regardless of their follow settings. However, the ability to send DMs to non-followers still depends on the recipient's settings.
How do I know if this is a layout change vs. a DM restriction?
Check the profile manually. If you can see the DM button in your browser but the Phantom can't find it, it's likely a layout change. If you also can't see the button, it's a DM restriction on the user's end.
Can I filter my input list to only include DM-eligible profiles?
Not reliably in advance. DM settings aren't exposed in profile data. But after a first run, you can remove all profiles that returned this error and relaunch with the cleaned list.
If the error keeps showing up
If the DM button is visible on the profile but the error continues, get in touch with our Customer Care Team, this helps us investigate whether a Twitter layout change is affecting the Phantom. Include:
- The Phantom name and link
- Example profile URLs where the DM button is visible but the error still occurs
- A screenshot of the target profile showing the DM button
- The launch log