Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def UpdateName(self, newName, in_reply_to_status_id=None):
- '''Mine
- '''
- if not self._oauth_consumer:
- raise TwitterError("The twitter.Api instance must be authenticated.")
- url = '%s/account/update_profile.json' % self.base_url
- data = {'name': newName}
- json = self._FetchUrl(url, post_data=data)
- data = self._ParseAndCheckTwitter(json)
- return User.NewFromJsonDict(data)
Add Comment
Please, Sign In to add comment