what is the query like when I am trying to create ...
# ask-ai
t
what is the query like when I am trying to create twitter source @kapa.ai
k
When creating a Twitter source in Airbyte, the Search Query field is where you specify the query to match the tweets you want to extract. This query should follow the syntax defined by Twitter's API. For example, you might use keywords, hashtags, or operators to filter tweets (e.g.,
airbyte lang:en
to get English tweets mentioning "airbyte"). You can refer to Twitter's [Build a Query guide](https://developer.twitter.com/en/docs/twitter-api/tweets/search/integrate/build-a-query) for detailed instructions and examples on constructing valid queries. In Airbyte, you simply enter your desired query string in the Search Query field during source setup. Here’s a summary of the relevant setup fields: - Access Token: Your App only Bearer Token. - Search Query: The query string for matching tweets (e.g.,
from:airbytehq #data
). - Start Date (optional): In
YYYY-MM-DDTHH:mm:ssZ
format, not more than 7 days in the past. - End Date (optional): In
YYYY-MM-DDTHH:mm:ssZ
format, at least 10 seconds before the request time. For more details, see the official documentation: [Twitter Source Setup Guide](https://docs.airbyte.com/integrations/sources/twitter#twitter).