This topic was automatically generated from Slack. You can find the original thread here.
Adam Gordon Bell : Hi, I am attempting to use the twitter search source and I think I’m hitting this issue: Slack . I want to search for something with quotes in it, but I’m struggling to figure out how to overcome this url encoding problem.
Dylan Sather (Pipedream) : can you tell me the specific phrase you were searching for? Is it possible there are no tweets that were sent with that phrase within the last week? The Twitter Search API has a notable limitation:
> Keep in mind that the search index has a 7-day limit. In other words, no tweets will be found for a date older than one week.
If you enter a high-volume query like "star wars" in the Search Mentions source, it does find tweets and emit events, so I’m curious if that explains it.
Dylan Sather (Pipedream) : Thanks, but the latest tweet I see from that set is from July 2nd, which is more than 7 days ago. The search API unfortunately won’t return those tweets
Dylan Sather (Pipedream) : Because of the way we deploy sources into your account, we only let you edit the main, “entrypoint” file in the Configuration tab of the source’s code in the Pipedream UI. The code that makes this specific API request is included in a shared library file, [here](http://return%20(await%20this._makeRequest({), so can’t be edited through the UI.
But you can use the Pipedream CLI to deploy a source, and edit any of the files that compose the source locally. So in this case, I edited that file, and then moved into this directory of the repo:
components/twitter/sources/search-mentions/
and ran:
pd dev source-mentions.js
You can read more about the way we develop Pipedream sources, and more about pd dev, here