A
A
ATimofeev2011-01-15 02:56:51
API
ATimofeev, 2011-01-15 02:56:51

How to post images on Twitter using the API

Is this possible in principle? By the fact that there are clients and services that can do this, I conclude that it is possible. But how? I did not find a single line about sending pictures in the API documentation (

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
mambet, 2011-01-15
@mambet

Basically already answered. There is no such feature in the Twitter API. However, theoretically, a picture could be converted to text using something like BASE64, split into 140-character blocks, and tweeted! By the way, since you can use Unicode there (the tweets of the Japanese and Chinese are very long, they write whole treatises there) - you can use not BASE64, but something more cunning.

R
relgames, 2011-01-15
@relgames

Twitter does NOT have the ability to post a picture. Twitter can only post 140 characters of text. Everything else is third party services. Whose API do you need to look at. Choose your favorite and go :-)

A
arinoki, 2011-01-15
@arinoki

Well look. First, there is a tweetpick. secondly, the tweetpick has an api that can already be used exactly where you need it.
twitpic.com/api.do

A
AvrGavr, 2013-05-21
@AvrGavr

upload.twitter.com/1/statuses/update_with_media.json Here, using the POST method, pass an array containing the 'media' index, which will contain a link to your image. It seems to be so.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question