# Path: twitter/utils.py
# def _parse_response(text):
# def get_request_token():
# def get_access_token(oauth_verifier, oauth_token_pair):
# def get_user_data(screen_name, oauth_token_pair):
# def authorize_request(method, url, param_data=None, extra_oauth_params=None, oauth_token_pair=None, body_data=None):
# def get_signature(http_method, url, parameter_values, oauth_token_secret=''):


from django import http
from django.conf import settings
from django.views.decorators.http import require_http_methods
from twitter import utils
import json



@require_http_methods(['POST'])
def get_data(request):
    if 'twitter_handle' not in request.POST.keys():

# Path: twitter/utils.py
# def _parse_response(text):
# def get_request_token():
# def get_access_token(oauth_verifier, oauth_token_pair):
# def get_user_data(screen_name, oauth_token_pair):
# def authorize_request(method, url, param_data=None, extra_oauth_params=None, oauth_token_pair=None, body_data=None):
# def get_signature(http_method, url, parameter_values, oauth_token_secret=''):


# Path: twitter/views.py
from django import http
from django.conf import settings
from django.views.decorators.http import require_http_methods
from twitter import utils
import json




@require_http_methods(['POST'])
def get_data(request):
    if 'twitter_handle' not in request.POST.keys():

        return http.HttpResponseServerError()