Error obtaining access token info when behind proxy (Tinyproxy/squid)

Affected version: 0.4.0

I get the following error:
Message: [Errno socket error] [Errno -3] Temporary failure in name resolution
Method: facebook.get_user_from_cookie

The problem seems to be that urllib.urlopen is being used which does not support HTTP CONNECT requests to talk to https://graph.facebook.com/oauth/access_token from behind a proxy.

Using urllib2.urlopen fixes this issue.