I am using hadoop python implementations. Today, You can fetch tweets according to some parameters using Twitter Restful APIs. You need to obtain credentials of Twitter APIs(OAuth access token on behalf of a Twitter use) to work with the API like below:
username = USERNAME
consumer_key = CONSUMER_KEY
consumer_secret = CONSUMER_SECRET
access_token = ACCESS_TOKEN
access_secret = ACCESS_SECRET