Moved to urllib2.urlopen from urllib.urlopen since urllib does not use CONNECT for https urls. If behind squid or Tinyproxy, this would cause the library to fail when getting/extending access tokens from graph api.