Re: New API methods for updating profile design and images

2008-12-02 Thread Lien Tran

Hi,

Does anyone have a sample of what the HTTP Request POST body should
look like?

Thanks,
Lien

On Oct 23, 7:54 am, Alex Payne [EMAIL PROTECTED] wrote:
 Not any time soon, but we'll keep it in mind.



 On Wed, Oct 22, 2008 at 10:34 PM, Richie [EMAIL PROTECTED] wrote:

  Cool.

  Are there any plans on allowing to update images by adding an url-
  parameter instead of raw multipart images?

  This would make the API much simpler to use, but I guess there might
  be security issues.

  Richie.

  On Oct 23, 2:07 am, Alex Payne [EMAIL PROTECTED] wrote:
  We missed that bit, but we'll be adding a parameter to the
  update_profile_background_image method that lets you set whether or
  not it tiles.

  On Wed, Oct 22, 2008 at 2:52 PM, Richie [EMAIL PROTECTED] wrote:

   Hi Alex,

   this looks great. I got some ideas for this allready.

   One question: How to setprofilebackgroundimagetiles?

   Thanks,

   Richie

   On Oct 21, 8:10 pm, Alex Payne [EMAIL PROTECTED] wrote:
   Hi all!  Some new API methods for you to play with:

    - /account/update_profile_colors updates the colors on a user's
  profile(also returned via the /users/show API method)
    - /account/update_profile_image sets a newprofileimagefor a user
    - /account/update_profile_background_image sets, you guessed it, a
   new backgroundimagefor a user'sprofile

   You can find them all documented 
   underhttp://apiwiki.twitter.com/REST%20API%20Documentation#AccountMethods.

   The clear use for these methods is a third-partyprofiledesign
   customizer (basically, a Twitter theme site).  Geo apps might want to
   grab a photo of where the user is at and set it as theirprofile
   backgroundimage.  That sort of thing.

   Enjoy, and let us know if you find any bugs.

   --
   Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x

  --
  Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x


Re: New API methods for updating profile design and images

2008-10-22 Thread Alex Payne

We missed that bit, but we'll be adding a parameter to the
update_profile_background_image method that lets you set whether or
not it tiles.

On Wed, Oct 22, 2008 at 2:52 PM, Richie [EMAIL PROTECTED] wrote:

 Hi Alex,

 this looks great. I got some ideas for this allready.

 One question: How to set profile background image tiles?


 Thanks,

 Richie


 On Oct 21, 8:10 pm, Alex Payne [EMAIL PROTECTED] wrote:
 Hi all!  Some new API methods for you to play with:

  - /account/update_profile_colors updates the colors on a user's
 profile (also returned via the /users/show API method)
  - /account/update_profile_image sets a new profile image for a user
  - /account/update_profile_background_image sets, you guessed it, a
 new background image for a user's profile

 You can find them all documented 
 underhttp://apiwiki.twitter.com/REST%20API%20Documentation#AccountMethods.

 The clear use for these methods is a third-party profile design
 customizer (basically, a Twitter theme site).  Geo apps might want to
 grab a photo of where the user is at and set it as their profile
 background image.  That sort of thing.

 Enjoy, and let us know if you find any bugs.

 --
 Alex Payne - API Lead, Twitter, Inc.http://twitter.com/al3x




-- 
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x