You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to follow http://twitter.com/pythoncoders/with_friends but don't see
any possibility to fetch the time lines of all the friends ('with_friends')
of my friend 'pythoncoders'.
Your api doesn't provide an id parameter for GetFriendsTimeline - so i
can't do that.
Or do i miss something ?
Original issue reported on code.google.com by Steffen....@gmail.com on 15 May 2007 at 11:54
The text was updated successfully, but these errors were encountered:
Something like that:
def GetFriendsTimeline(self, username, password, id=None):
'''Fetch the sequence of twitter.Status messages for a user\'s friends
Args:
username: Your username
password: Your password
id: The id or username to be fetched
Returns:
A sequence of twitter.Status instances, one for each message
'''
url = 'http://twitter.com/statuses/friends_timeline'
if id != None:
url += '/' + id
url += '.json'
json = self._FetchUrl(url, username=username, password=password)
data = simplejson.loads(json)
return [Status.NewFromJsonDict(x) for x in data]
But than this is also true for GetFriend or more common for all calls with an
possible id parameter.
Original comment by Steffen....@gmail.com on 15 May 2007 at 12:13
Original issue reported on code.google.com by
Steffen....@gmail.com
on 15 May 2007 at 11:54The text was updated successfully, but these errors were encountered: