This file contains hidden or 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 csv | |
import tweepy | |
import ssl | |
ssl._create_default_https_context = ssl._create_unverified_context | |
# Oauth keys | |
consumer_key = "XXX" | |
consumer_secret = "XXX" | |
access_token = "XXX" |
This file contains hidden or 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 urllib.request | |
import ssl | |
import json | |
import time | |
import tweepy | |
ssl._create_default_https_context = ssl._create_unverified_context | |
# Oauth keys |
This file contains hidden or 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 | |
# Consumer keys and access tokens, used for OAuth | |
consumer_key = 'XXX' | |
consumer_secret = 'XXX' | |
access_token = 'XXX' | |
access_token_secret = 'XXX' | |
# OAuth process, using the keys and tokens | |
auth = tweepy.OAuthHandler(consumer_key, consumer_secret) |
This file contains hidden or 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 urllib.request | |
import ssl | |
import json | |
import time | |
import tweepy | |
ssl._create_default_https_context = ssl._create_unverified_context | |