docs: def extend_access_token(self, app_id, app_secret):
          """
          Extends the expiration time of a valid OAuth access token. See
          <https://developers.facebook.com/roadmap/offline-access-removal/
          #extend_token>
  
          """
          args = {
              "client_id": app_id,
              "client_secret": app_secret,
              "grant_type": "fb_exchange_token",
              "fb_exchange_token": self.access_token,
          }
          response = urllib2.urlopen("https://graph.facebook.com/oauth/"
                                     "access_token?" +
                                     urllib.parse.urlencode(args)).read().decode('utf-8')
          query_str = parse_qs(response)
          if "access_token" in query_str:
              result = {"accesstoken": query_str["access_token"][0]}
              if "expires" in query_str:
                  result["expire"] = query_str["expires"][0]
              return result
          else:
              response = json.loads(response)
              raise GraphAPIError(response)