import os

#Twitter
CONSUMER_KEY = os.environ("CONSUMER_KEY")
CONSUMER_SECRET = os.environ("CONSUMER_SECRET")

ACCESS_KEY = os.environ("ACCESS_KEY")
ACCESS_SECRET = os.environ("ACCESS_SECRET")

#Instagram
CLIENT_ID = os.environ("CLIENT_ID")
import os

#Twitter
CONSUMER_KEY = os.environ['CONSUMER_KEY']
CONSUMER_SECRET = os.environ['CONSUMER_SECRET']

ACCESS_KEY = os.environ['ACCESS_KEY']
ACCESS_SECRET = os.environ['ACCESS_SECRET']

#Instagram
CLIENT_ID = os.environ['CLIENT_ID']
Fix settings syntax