> Alright, I committed some work that should hopefully take care of your
> Proxy woes.
>
http://github.com/ryanmcgrath/twython/commit/f82702e70643621c0a82ed74...
> Basically, pass an object like the following to the setup method. I've
> not been able to test this thoroughly yet, so any tests you can do
> would be appreciated. Feel free to file bugs on the Github project.
> import twython
> proxyobj = {
> "username": "fjnfsjdnfjd",
> "password": "fjnfjsjdfnjd",
> "host": "
http://fjanfjasnfjjfnajsdfasd.com",
> "port": 87
>}
> lol = twython.setup("username", "password", proxy = proxyobj)
>>> import twython
>>> proxyobj = {
... "username": "fjnfsjdnfjd",
... "password": "fjnfjsjdfnjd",
... "host": "
http://fjanfjasnfjjfnajsdfasd.com",
... "port": 87
...
... }
>>>
>>> lol = twython.setup("username", "password", proxy = proxyobj)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'setup'
I'm very interested by this feature. I have tried to test with the
last version of twython,
but I got no setup attributes. Is there another way to set a proxy
programmatically
for the Oauth API (not the streaming)?