def __init__(self, oauth_token=False, url='https://graph.facebook.com', verify_ssl_certificate=True, appsecret=False, timeout=None, version=None):
        """
        Initialize GraphAPI with an OAuth access token.

        :param oauth_token: A string describing an OAuth access token.
        :param version: A string with version ex. '2.2'.
        """
        self.oauth_token = oauth_token
        self.session = requests.session()
        self.url = url.strip('/')
        self.verify_ssl_certificate = verify_ssl_certificate
        self.appsecret = appsecret
        self.timeout = timeout
        self.version = version
def __init__ ( self , oauth_token = False , url = 'https://graph.facebook.com' , verify_ssl_certificate = True , appsecret = False , timeout = None , version = None ) : self . oauth_token = oauth_token self . session = requests . session ( ) self . url = url . strip ( '/' ) self . verify_ssl_certificate = verify_ssl_certificate self . appsecret = appsecret self . timeout = timeout self . version = version
Initialize GraphAPI with an OAuth access token.

        :param oauth_token: A string describing an OAuth access token.
        :param version: A string with version ex. '2.2'.