#from twython import Twython
from twitter import Twitter, OAuth, TwitterHTTPError, TwitterStream
import json


CONSUMER_KEY = 'pxeqo0ylpUayIIl5Nlc2kBmkb'
CONSUMER_SECRET = '<KEY>'
ACCESS_TOKEN = '<KEY>'
ACCESS_SECRET = '<KEY>'

oauth = OAuth(ACCESS_TOKEN, ACCESS_SECRET, CONSUMER_KEY, CONSUMER_SECRET)

# Initiate the connection to Twitter REST API
twitter = Twitter(auth=oauth)
            
# Search for latest tweets about "#nlproc"
twitter.search.tweets(q='#nlproc')

#twitter.search.tweets(q='#nlproc', result_type='recent', lang='en', count=10)


#from twython import Twython
from twitter import Twitter, OAuth, TwitterHTTPError, TwitterStream
import json


CONSUMER_KEY = 'pxeqo0ylpUayIIl5Nlc2kBmkb'
CONSUMER_SECRET = '<KEY>'
ACCESS_TOKEN = '<KEY>'
ACCESS_SECRET = '<KEY>'

oauth = OAuth(ACCESS_TOKEN, ACCESS_SECRET, CONSUMER_KEY, CONSUMER_SECRET)

# Initiate the connection to Twitter REST API
twitter = Twitter(auth=oauth)
            
# Search for latest tweets about "#nlproc"
twitter.search.tweets(q='#nlproc')

#twitter.search.tweets(q='#nlproc', result_type='recent', lang='en', count=10)


#from twython import Twython # Initiate the connection to Twitter REST API # Search for latest tweets about "#nlproc" #twitter.search.tweets(q='#nlproc', result_type='recent', lang='en', count=10)