def share_unique_with_twitter(config, unique):
    auth = OAuthHandler(config['twitter']['api key'], config['twitter']['api secret key'])
    auth.set_access_token(config['twitter']['access token'], config['twitter']['access token secret'])
    api = API(auth)
    status = 'Unique Active Accounts For {} Over Time\n{}'
    formatting = '{} days: {}'
    for (key, values) in unique.items():
        api.update_status(status=status.format(key, '\n'.join(map((lambda l: formatting.format(config['unique'][values.index(l)], l)), values))))
def share_unique_with_twitter(config, unique):
    auth = OAuthHandler(config['twitter']['api key'], config['twitter']['api secret key'])
    auth.set_access_token(config['twitter']['access token'], config['twitter']['access token secret'])
    api = API(auth)
    status = 'Unique Active Accounts For {} Over Time\n{}'
    formatting = '{} days: {}'
    for (key, values) in unique.items():
        api.update_status(status=status.format(key, '\n'.join(map((lambda l: formatting.format(config['unique'][values.index(l)], l)), values))))