On Wednesday 01 July 2009 09:01:58 David Zhou wrote:
> > has anyone succeeded in marrying django to twitter - that is broadcasting
> > updates in the django db to twitter? I did see one post on the subject in
> > the archives, but there was no information as to whether the operation
> > was successful.
>
> I haven't tried it, but it shouldn't be hard.  Subscribe to the
> relevant signals for whatever you want to track, and use a Python
> Twitter library to post to the Twitter account.
>
> I've used Mike's module at: http://mike.verdone.ca/twitter/ previously
> to great success.   To post something an account with that module:
>
> import twitter
> t = twitter.api.Twitter('username', 'password')
> t.statuses.update(status="This is the tweet.")

thanks, that is more or less what I figured - will try it when I get over my 
allergy to twitter
-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to