Skip to content

Instantly share code, notes, and snippets.

Avatar

Lauren Fratamico fratamico

View GitHub Profile
@fratamico
fratamico / twitter_collection_examples.py
Last active Jun 19, 2020
Creating a Twitter Collection via API
View twitter_collection_examples.py
import json
from requests_oauthlib import OAuth1Session
# For a blog post describing this process more, see:
# https://medium.com/analytics-vidhya/creating-a-twitter-collection-via-api-1378ecfe20df
api_key = 'your api key'
api_secret_key = 'your api secret key'
access_token = 'your access token'