syncr.app.tweet
index
/Users/jesse/src/python-local/syncr/app/tweet.py

 
Modules
       
time
twitter

 
Classes
       
TwitterSyncr

 
class TwitterSyncr
    TwitterSyncr objects sync Twitter information to the Django
backend. This includes meta data for Twitter users in addition to
Twitter status updates (Tweets).
 
NOTE: Limitations of the Twitter API currently restricts API
access to only the most recent data in the Twitter system. This
is for performance reasons (per API docs).
 
This app depends on python-twitter:
http://code.google.com/p/python-twitter/
 
  Methods defined here:
__init__(self, username, password)
Construct a new TwitterSyncr object.
 
Required arguments
  username: the Twitter user to use for authentication
  password: the Twitter user's password to use for auth
syncFollowers(self)
Synchronize the Twitter user's followers with Django. This
only works for the username who is authenticated in the API
object.
syncFriends(self, user)
Synchronize a Twitter user's friends with Django.
 
Required arguments
  user: the Twitter username as a string
syncFriendsTweets(self, user)
Synchronize the tweets of a Twitter user's friends (currently
only the last 20 updates). Also automatically add these users
as friends in the Django database, if they aren't already.
 
Required arguments
  user: the Twitter username whose friend's tweets will sync
syncTweet(self, status_id)
Synchronize a Twitter status update by id
 
Required arguments
  status_id: a Twitter status update id
syncTwitterUserTweets(self, user)
Synchronize a Twitter user's tweets with Django (currently
only the last 20 updates)
 
Required arguments
  user: the Twitter user as string
syncUser(self, user)
Synchronize a Twitter user with the Django backend
 
Required arguments
  user: a Twitter username as a string