开发者

Send images to twitter through code

Send images to twitter through code

HI all,开发者_如何学Python can we post images with tweets in twittter through code in iphone???? Check the screen shots

I am using busyAgent.this helps me to tweet wiothout posting images, i need to send images to at the time of tweeting

Guidence regards

Send images to twitter through code


You will need to use a few APIs for this (for what I think you are trying to do?)

  • The Twitter API For posting a tweet
  • An API of many of the popular twitter image hosting/sharing websites, for example The Twitpic API
    • This will allow you to upload the image to their site (through code) and get a URL in return, containing the location of your uploaded image

Then you just need to do something like

  • Upload your image using the api of your image sharing site and storing the URL somewhere
  • Formulate your tweet message with the URL in it
  • Use the Twitter API to connect to your account (or whoever is using your application and has supplied their login credentials)
  • Post the tweet
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜