Use config as object in Twitter demo