Hi, Ok, but when I follow the steps mentioned in http://agileweb.wordpress.com/2009/04/28/step-by-step-guide-to-use-sign-in-with-twitter-with-django/ it atleast redirects me to "twitter.com", problems occur only in the call back method
Exception Type: AttributeError Exception Value: 'module' object has no attribute 'OAuthToken' the line below causes the problem token = oauth.OAuthToken.from_string(request_token) thanks ashy On Sep 6, 8:25 pm, Tom van der Woerdt <i...@tvdw.eu> wrote: > You should contact the owner of the proxy and ask him/her to allow > api.twitter.com. > > Tom > > On 9/6/10 5:24 PM, ashy wrote: > > > Hi Tom, > > > I am not able to connect to 'api.twitter.com' as well. > > > connection._connection = httplib.HTTPSConnection('api.twitter.com') > > > Yes, Iam working behind proxy. > > Please suggest. > > > thanks > > ashy > > > On Sep 6, 8:15 pm, Tom van der Woerdt <i...@tvdw.eu> wrote: > >> On 9/6/10 11:55 AM, ashy wrote: > > >>> Hi All, > > >>> I am using django-twitterauth > >>> athttp://github.com/rcrowley/django-twitterauth > >>> to communicate with > >>> twitter using my django application. But it keeps giving error like > >>> 'cannot send request', or 'connection refused' > > >>> Exception Location: /usr/lib/python2.6/httplib.py in putrequest, > >>> line 802 > >>> Python Executable: /usr/bin/python > > >>> Any ideas to resolve this problem > > >>> thanks > >>> ashwin > > >> Sounds like a firewall issue. Make sure that your server can connect to > >> api.twitter.com, and that you got the hostnames right in your code. > > >> Tom -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk?hl=en