Hi guys,

I have a little problem with uploading avatar to twitter by oauth.
I m using this libraries for communicate by oauth :
http://github.com/gTwittr/gTwittr/tree/f0c27b147de5efc509ffc3db48a36f4b4cd448bb/application/lib/twitteroauth

Trying to send file with this :
$imageX = $_SERVER['DOCUMENT_ROOT'].'/twitt/new/image.jpg';
$this->OAuthRequest("https://twitter.com/account/
update_profile_image.xml", array('image' => "@$imageX"), 'POST');

But only answer is : Something is technically wrong.
Thanks for noticing—we're going to fix it up and have things back to
normal soon.

Don`t have someone idea what is wrong?
Thanks.

Reply via email to