[twitter-dev] user details
Hello All, I have stored access token of some of the users in my database. Now, I want to retrieve friends and followers for these users. How can I retrieve this info? Any Ideas? thanks ashy -- 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
[twitter-dev] Re: user details
Hi All, Basically I am writing a cron job to retrieve friends and followers for the users. I have oauth token for these users stored in my database. Any Ideas? thanks ashy -- 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
[twitter-dev] bidirectional relationship
Hi All, As we can retrieve friends and followers of the user using the twitter rest api, can we also retrieve users who are both friends and followers of the user at the same time (bidirectional relationship) using the twitter rest api? Any ideas? thanks ashwin -- 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
[twitter-dev] twitter oauth command line
Hi All, I am using the following example in my django app to store users outhtoken into the db. http://github.com/henriklied/django-twitter-oauth But when Iam trying to use the oauth methods through commands http://docs.djangoproject.com/en/dev/howto/custom-management-commands/ it keeps giving me error. AttributeError: 'module' object has no attribute 'OAuthConsumer' Is there any other way to use oauth through command line? thanks for any help ashy -- 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
[twitter-dev] Re: twitter relationship
Hi Matt, But can I use it as a production database like mysql? thanks ashy -- 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
[twitter-dev] twitter relationship
Hi All, I want to represent the relationship seen in twitter into the database. For eg : user1 is following user2, user3, user 4, user 5 and user6. But user5 and user6 are following user1 in turn. How would design the database to represent this relationship. Any ideas? thanks ashy -- 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
[twitter-dev] django-twitterauth
Hi All, I am using django-twitterauth at http://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 -- 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
[twitter-dev] twitter command line
Hi All, How can I use twitter through command line using python? The library should be Oauth compliant. thanks ashwin -- 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
[twitter-dev] simplegeo / python-oauth2
Hi All, Iam using simplegeo / python-oauth2 to connect to twitter.com using python 2.6 and httplib2 getting the following error Exception Type: error Exception Value:(111, 'Connection refused') the line which is causing the problem is this: resp, content = client.request(request_token_url, GET) Any ideas -- 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
[twitter-dev] Re: django-twitterauth
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
[twitter-dev] Re: django-twitterauth
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