Class Twitter::Search
In: lib/twitter/search.rb
Parent: Object

Methods

clear   containing   contains   each   fetch   from   geocode   hashed   lang   new   per_page   ref   references   referencing   since   to  

Included Modules

HTTParty Enumerable

Attributes

query  [R] 
result  [R] 

Public Class methods

Public Instance methods

Clears all the query filters to make a new search

contains(word)

Alias for containing

If you want to get results do something other than iterate over them.

Search tweets by longitude, latitude and a given range. Ranges like 25km and 50mi work.

adds filtering based on hash tag ie: twitter

lang must be ISO 639-1 code ie: en, fr, de, ja, etc.

when I tried en it limited my results a lot and took out several tweets that were english so i‘d avoid this unless you really want it

Limits the number of results per page

ref(user)

Alias for referencing

references(user)

Alias for referencing

Only searches tweets since a given id. Recommended to use this when possible.

[Validate]