

@require_GET
def oauth_twitter_begin(request):
    client = twitter.Twitter()
    (url, token, secret) = client.generate_authorization()
    request.session['temporary_oauth_token'] = token
    request.session['temporary_oauth_secret'] = secret
    return HttpResponseRedirect(url)

dataset/ETHPy150Open elmcitylabs/ECL-Twitter/ecl_twitter/views.py oauth_twitter_begin/original