This topic was automatically generated from Slack. You can find the original thread here.
Malk : Has anyone managed to connect a protected twitter account as a trigger to discord?
This topic was automatically generated from Slack. You can find the original thread here.
Malk : Has anyone managed to connect a protected twitter account as a trigger to discord?
Danny Roosevelt : Hey , welcome! Can you share a bit more context on what you’re trying to accomplish, so we can try and help out? Have you already tried setting up a workflow that isn’t working?
Malk : Hi Danny, yes I’ve managed to set it up with my twitter account when it is public, however it stops functioning when I set it to protected mode
Malk : I thought this wouldn’t impact it since I’m signed in through my own account but it appears it does
Danny Roosevelt : Can you share more specifically what you’re trying to do? Or if you’d like to share the actual workflow I’m happy to take a look there — you can click the blue “Share” button at the top right and share it w/ [danny@pipedream.com](mailto:danny@pipedream.com)
Malk : This worked when the account was public, not when I changed it to private
Danny Roosevelt : Yea I was able to reproduce the same issue. It’s looking to me like protected tweets might not be surfaced in Twitter’s API. Who can see your Tweets – Twitter privacy and protection settings
Danny Roosevelt : protected tweets might actually be accessible via a different API than the one that’s being used in the My Tweets
source you’re using. I’m digging in here a bit to learn more.
Malk : Sounds promising! Let me know if you find anything
Danny Roosevelt : are you able to use “User Tweets” trigger instead of “My Tweets”? That should let you pull in your protected tweets! It’s a slight nuance in our integration and Twitter’s API that is admittedly not well documented right now.
Danny Roosevelt : So if you remove your existing trigger from your workflow then select Twitter again and scroll down to that trigger, give that a whirl (and I’ll test it out on my end as well, to verify).
Danny Roosevelt : Yep I just did a quick test with a copy of the workflow you shared above and it works with a protected Twitter account on my end using the “User Tweets” trigger
Malk : Is it possible to make the tweet accessible in discord? It pulls the tweet but doesn’t show it since the account is protected
Malk : Since I’m connected to Pipedream with the protected account I thought it would work
Danny Roosevelt : Are you trying to get the actual text of the tweet to appear in addition to the URL?
Malk : Yes
Malk : The url doesn’t matter really, just text
Malk : If that works, I want to filter for key words as well
Danny Roosevelt : Got it. Yea you should still be able to reference the full text from the Twitter trigger via something like steps.trigger.event.full_text