Uploading profile image and profile background image, update setup required packages, removed some funcs. #55

Merged
michaelhelmick merged 2 commits from master into master 2012-01-12 21:03:21 -08:00
michaelhelmick commented 2012-01-12 20:08:36 -08:00 (Migrated from github.com)
  • You can now update user profile image or user profile background
    image thanks to the Python requests library.
  • Updated setup to include 'requests' as a required package
  • Changed to beginning hashbang to use the users environment python
    version
  • try/except for parse_qsl, removed try/excepts where it used
    cgi.parse_qsl/urlparse.parse_sql
  • Lines 161/162 (using self.consumer/token) <- this addition ended up
    not being needed, but it doesn't hurt.
  • updateProfileBackgroundImage() - param 'tile' is now True/False
    rather than a string "true" or string "false"
  • removed encode_multipart_formdata func, not needed any longer
- You can now update user profile image or user profile background image thanks to the Python requests library. - Updated setup to include 'requests' as a required package - Changed to beginning hashbang to use the users environment python version - try/except for parse_qsl, removed try/excepts where it used cgi.parse_qsl/urlparse.parse_sql - Lines 161/162 (using self.consumer/token) <- this addition ended up not being needed, but it doesn't hurt. - updateProfileBackgroundImage() - param 'tile' is now True/False rather than a string "true" or string "false" - removed encode_multipart_formdata func, not needed any longer
ryanmcgrath commented 2012-01-12 21:01:51 -08:00 (Migrated from github.com)

Going to go ahead and merge this; for the time being, requests will be an extra required library - we're in the middle of phasing out httplib2 as a requirement (thanks to work from @kracekumar). We'll get there, no worries.

Going to go ahead and merge this; for the time being, requests will be an extra required library - we're in the middle of phasing out httplib2 as a requirement (thanks to work from @kracekumar). We'll get there, no worries.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: code/twython#55
No description provided.