โš™๏ธ Twitter Tweet Search - Multiple Locations Workflow Formula By steve


Search Tweets by entering in multiple latitude, longitude & radius inputs, allowing you to search multiple cities in a single workflow.

Getting Started

Import this formula to add the workflow to your account. Enter the coordinates in the input collection and the other required inputs, then execute the workflow.

โš™๏ธ  Twitter Tweet Search - Pagination

Inputs

Twitter Search Locations
List
โžก๏ธ Location

Return tweets within the given search radius of a latitude and longitude. The API will attempt to use the Tweer’s geocode when available and will fall back to the Twitter user’s profile’s location otherwise. You need to enter your search location in this format: latitude,longitude,radius where you can specify radius as either mi (miles) or km (kilometers).

Tweet Search - Pagination Next ID (Self-Loop) Pagination Limit: Unlimited โžก๏ธ Pagination Max ID

Used for pagination. Run the first request with this blank, then insert the statuses.id value of the last result into this value to get the next page of results.

  • Bearer Token

    Your Twitter app’s Bearer Token for collecting data with. If you don’t have one, see How to Get a Twitter API Key Without Approval or check out Twitter’s docs on Bearer Tokens for more information.

  • Query

    Search query to run on Twitter, see their docs for examples on how to search. Some quick tips:

    • Hashtag Search: Just enter the search term with a hashtag in front of it, e.g. #beer If multiple hashtags are entered, the API will return tweets containing both hashtags.
    • User Mention Search: Enter the username prepended with the @ sign to get all tweets mentioning the user, e.g. @taylorswift
    • Tweets From Account: Find tweets sent from a specific account by prefixing with from:, e.g. from:interior (note do not use the @ here)
    • Free Text: Find tweets containing free text words, e.g. watching now will return tweets containing both words. Use the OR operator if you’d like, e.g. love OR hate.

Language Example: en

Restrict the tweets returned to those matching the ISO 639-1 language code.

Location Example: 37.781157,-122.398720,1mi

Return tweets within the given search radius of a latitude and longitude. The API will attempt to use the Tweer’s geocode when available and will fall back to the Twitter user’s profile’s location otherwise. You need to enter your search location in this format: latitude,longitude,radius where you can specify radius as either mi (miles) or km (kilometers).

Result Type

The order that Twitter will return the results back, defaulting to “mixed,” showing a combination of both popular and recent results. You can also enter:

  • recent - Get the most recent tweets first
  • popular - Get the most popular tweets first
Pagination Max ID

Used for pagination. Run the first request with this blank, then insert the statuses.id value of the last result into this value to get the next page of results.

Extractors

  • Tweets .statuses
Posted by steve on May 29, 2020, 6:34 p.m. ๐Ÿšฉ  Report