@staticmethod
    def parse_oauth_response(data):

        if isinstance(data, six.binary_type):
            data = data.decode('utf-8')
        qsl = urllib_parse.parse_qsl(data)

        resp = {}
        for key, value in qsl:
            resp[key] = value

        return resp
Parses the data string as OAuth response, returning it as a dict.
dataset/ETHPy150Open onitu/onitu/drivers/flickr/onitu_flickr/flickrapi/auth.py/OAuthFlickrInterface.parse_oauth_response