This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
import json | |
consumer_key = "r8y13uUfAduFvj8X4dsEdAMWG" | |
consumer_secret = "gBAaLFgxTXXnLlnqAmPJKpD22Cg3L0I6tW9yy0kdY34pv8cEZO" | |
access_token = "1150328765597310976-Sww8Yua53EmGOnkr09cPkUylS1hSuO" | |
access_token_secret = "OIIurB22pKTax4FYbs9QNRuXTLFhasSLfqI0Zd4lkjkm4" | |
#Now it’s time to create our API object. | |
# Creating the authentication object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Twiter from AmeriGirl ->RT @NolteNC: Morning Joe gives huge credit to Hillary for confronting a critic but laughs hysterically when Cruz "shows up" to do same. | |
Operation completed in 0.093 seconds | |
-------------------------------FIRST DATA READ ---------------------- | |
{u'contributors': None, u'truncated': False, u'text': u'RT @NolteNC: Morning Joe gives huge credit to Hillary for confronting a critic but laughs hysterically when Cruz "shows up" to do same.', u'is_quote_status': False, u'in_reply_to_status_id': None, u'id': 727497507362734080, u'favorite_count': 0, u'source': u'<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', u'retweeted': False, u'coordinates': None, u'timestamp_ms': u'1462283896662', u'entities': {u'user_mentions': [{u'indices': [3, 11], u'screen_name': u'NolteNC', u'id': 16163639, u'name': u'John Nolte', u'id_str': u'16163639'}], u'symbols': [], u'hashtags': [], u'urls': []}, u'in_reply_to_screen_name': None, u'in_reply_to_user_id': None, u'retweet_cou |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"created_at":"Tue May 03 13:58:16 +0000 2016", | |
"id":727497507362734080, | |
"id_str":"727497507362734080", | |
"text":"RT @NolteNC: Morning Joe gives huge credit to Hillary for confronting a critic but laughs hysterically when Cruz \"shows up\" to do same.", | |
"source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\u003c\/a\u003e", | |
"truncated":false, | |
"in_reply_to_status_id":null, | |
"in_reply_to_status_id_str":null, | |
"in_reply_to_user_id":null, |