Question:

Why do my image uploads always fail Twitter API?

by Guest5825  |  12 years, 9 month(s) ago

0 LIKES UnLike

The graphic does not show up only a white question mark in a blue box. What am I doing wrong? I have checked the file path and the photo is in the correct folder. Why do my image uploads always fail Twitter API?

 Tags: API, FAIL, Image, twitter, uploads

   Report

1 ANSWERS

  1. Guest89
    The image update methods require multipart form data. They do not accept a URL to an image nor do they accept the raw image bytes. They instead require the data to be delivered in the form of a file upload filed as defined in RFC1867. The content-type attribute of the image field is checked for valid image type. If you are using PHP/CURL there is a known bug that has since been fixed in the CVS version of PHP. Most installations are not yet using this version and therefore fail during image upload.

Sign In or Sign Up now to answser this question!

Question Stats

Latest activity: 13 years, 2 month(s) ago.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions