Method no longer accepts parameters user_id or screen_name as these are not honored by Twitter. The data returned will be for the authenticated user only.
Parameter cursor is no longer accepted – this method will return all users being blocked by the currently authenticated user. If you need paging, please use twitter.api.Api.GetBlocksPaged() instead.
Method no longer honors a count or cursor parameter. These have been deprecated in favor of making this method explicitly a convenience function to return a list of every twitter.User who is following the specified or authenticated user. A warning will be raised if count or cursor is passed with the expectation that breaking behavior will be introduced in a later version.
Method now takes an optional parameter of total_count, which limits the number of users to return. If this is not set, the data returned will be all users following the specified user.
The kwarg include_user_entities now defaults to True. This was set to False previously, but would not be included in query parameters sent to Twitter. Without the query parameter in the URL, Twitter would default to returning user_entities, so this change makes this behavior explicit.
The third value of the tuple returned by this method is now a list of twitter.User objects in accordance with its doc string rather than the raw data from API.
The kwarg include_user_entities now defaults to True. This was set to False previously, but would not be included in query parameters sent to Twitter. Without the query parameter in the URL, Twitter would default to returning user_entities, so this change makes this behavior explicit and consistent with the previously ambiguous behavior.
Method no longer honors a count or cursor parameter. These have been deprecated in favor of making this method explicitly a convenience function to return a list of every twitter.User who is followed by the specified or authenticated user. A warning will be raised if count or cursor is passed with the expectation that breaking behavior will be introduced in a later version.
Method now takes an optional parameter of total_count, which limits the number of users to return. If this is not set, the data returned will be all users followed by the specified user.
The kwarg include_user_entities now defaults to True. This was set to False previously, but would not be included in query parameters sent to Twitter. Without the query parameter in the URL, Twitter would default to returning user_entities, so this change makes this behavior explicit.
The third value of the tuple returned by this method is now a list of twitter.User objects in accordance with its doc string rather than the raw data from API.
The kwarg include_user_entities now defaults to True. This was set to False previously, but would not be included in query parameters sent to Twitter. Without the query parameter in the URL, Twitter would default to returning user_entities, so this change makes this behavior explicit.
No longer accepts cursor parameter. If you require granular control over the paging of the twitter.list.List members, please user twitter.api.Api.GetListMembersPaged instead.
Parameter ‘stall_warning’ is now ‘stall_warnings’ in line with GetStreamFilter and Twitter’s naming convention. This should now actually return stall warnings, whereas it did not have any effect previously.
Method will now accept a list for either user_id or screen_name. The list can contain either ints, strings, or twitter.user.User objects for either user_id or screen_name.
Return value is a list of twitter.user.UserStatus objects.
Now accepts three new parameters: media, media_additional_owners, and media_category. media can be a URL, a local file, or a file-like object (something with a read() method), or a list of any combination of the above.
media_additional_owners should be a list of user ids representing Twitter users that should be able to use the uploaded media in their tweets. If you pass a list of media, then additional owners will apply to each object. If you need more granular control, please use the UploadMedia* methods.
This endpoint is deprecated by Twitter. Python-twitter will throw a warning about using the method and advise you to use PostUpdate() instead. There is no schedule for when this will be removed from Twitter.
This method should be replaced by passing a list of media objects (either URLs, local files, or file-like objects) to PostUpdate. You are limited to a maximum of 4 media files per tweet.
Allows you to page through the currently authenticated user’s blocked users. Method returns three values: the next cursor, the previous cursor, and a list of twitter.User instances representing the blocked users.
Much like twitter.api.Api.GetFriendsPaged() and similar methods, this allows you to retrieve an arbitrary page of twitter.list.List for either the currently authenticated user or a user specified by user_id or screen_name.
cursor should be -1 for the first page.
Returns the next_cursor, previous_cursor, and a list of twitter.list.List instances.