Change your avatar's Twitter

0 views
Skip to first unread message

Leo Baiano

unread,
Jul 23, 2009, 6:52:36 PM7/23/09
to twitter-deve...@googlegroups.com
Hi,

How to replace the image of the avatar through the Twitter API or any
other form automatically?

I am wanting to do something similar to http://twibbon.com

--
Amplexos,

Leo Baiano
http://www.leobaiano.com
http://www.blog.ljunior.com
http://www.mcelebridades.com
http://www.twitter.com/leobaiano

Cameron Kaiser

unread,
Jul 23, 2009, 7:24:20 PM7/23/09
to twitter-deve...@googlegroups.com
> How to replace the image of the avatar through the Twitter API or any
> other form automatically?

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile_image

--
------------------------------------ personal: http://www.cameronkaiser.com/ --
Cameron Kaiser * Floodgap Systems * www.floodgap.com * cka...@floodgap.com
-- Courage is being scared to death, and saddling up anyway. -- John Wayne ----

Leo Baiano

unread,
Jul 24, 2009, 6:11:16 AM7/24/09
to twitter-deve...@googlegroups.com
I would like to know if anyone knows an example using PHP to change image


2009/7/23 Cameron Kaiser <spe...@floodgap.com>:

--

Clint Shryock

unread,
Jul 27, 2009, 9:34:03 AM7/27/09
to twitter-deve...@googlegroups.com
you can use fopen to open the image file:

Then you'll want to use cURL to send the POST request:

or if you have access to use/install PECL extensions, you can use HTTP Post request to send the data:
http://us2.php.net/manual/en/function.http-post-data.php

Happy coding
+Clint

Leo Baiano

unread,
Jul 27, 2009, 1:23:28 PM7/27/09
to twitter-deve...@googlegroups.com
Thank.

2009/7/27 Clint Shryock <cts...@gmail.com>:

--

Reply all
Reply to author
Forward
0 new messages