For the Flow Twitter Connector, is there documentation somewhere on the allowable search syntax that can be entered in the "Search text" field? (for when a new tweet is posted) The tooltip text has a link to:
https://docs.microsoft.com/en-us/connectors/twitter/#onnewtweet
which says: Search term like "happy hour", #haiku, from:@username, love OR hate.
So this sentence above shows that the boolean OR operator can be used in searches in addition to a phrase search in quotes. But what else is allowed? For instance, can you combine boolean operators into a more complex search expression like: (vegan OR meatless) AND (McDonalds OR "Burger King"). Or can you use a regular expression for string searches?
I could take guesses and try experimenting with lots of different expressions but that is not a particularly efficient use of time. So it would be great if the allowable search syntax and options are documented somewhere. Thanks in advance for any ideas.
Solved! Go to Solution.
Hi @ScWill ,
Do you want to search tweets by configuring the search text?
There is a similar thread at here:
https://powerusers.microsoft.com/t5/Building-Flows/Twitter-Advanced-Search/td-p/18517
Please try the search condition on twiter.com search, if it is working then apply into the flow.
Best regards,
Mabel
Check out the Twitter Advanced Search page, for the syntax available with search for Twitter. You'll have to build out your advnaced search syntax here first, and then recreate it in Flow.
Example: Searching for this is a test in the All of these words box returns:
https://twitter.com/search?l=&q=this%20is%20a%20test&src=typd
Notice, the spaces between the words are coverted to %20.
Example: Searching for this is a test in the This exact phrase box returns:
https://twitter.com/search?l=&q=%22this%20is%20a%20test%22&src=typd
Notice the double quotes around the search and the %20 for each space.
Example: Searching for this is a test in the Any of these words box returns:
https://twitter.com/search?l=&q=this%20OR%20is%20OR%20a%20OR%20test&src=typd
Notice the OR statements and the %20 for the spaces.
The list goes on, just make your way down the list of search options on the Twitter Advanced Search page (see screenshot below), you can quickly build out the proper search syntax that you can then pass through to your Flow.
Hi @ScWill ,
Do you want to search tweets by configuring the search text?
There is a similar thread at here:
https://powerusers.microsoft.com/t5/Building-Flows/Twitter-Advanced-Search/td-p/18517
Please try the search condition on twiter.com search, if it is working then apply into the flow.
Best regards,
Mabel
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
15 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
12 | |
12 | |
10 |