通过代码将图像发送到twitter [英] Send images to twitter through code

查看:116
本文介绍了通过代码将图像发送到twitter的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,
我们可以通过iphone中的代码在twittter中发布推文图片吗?
检查屏幕截图

HI all, can we post images with tweets in twittter through code in iphone???? Check the screen shots

我正在使用busyAgent.this帮助我推特发布图片,我需要在发推时发送图像

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

guidence
问候

Guidence regards

推荐答案

您需要使用一些API(对于什么我想你想做什么?)

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


  • Twitter API 发布推文

  • 许多流行的推特图片托管/分享网站的API,例如 Twitpic API


    • 这将允许您上传图像到他们的网站(通过代码)并获得一个URL作为回报,包含您上传图片的位置

    • 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

      然后你只需要做一些像


      • 使用图片共享网站的api上传图片并将网址存储在某个地方

      • 使用其中的网址制作推文消息

      • 使用Twitter API连接到您的帐户(或使用您的应用程序并提供登录凭据的任何人)

      • 发布推文

      • 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

      这篇关于通过代码将图像发送到twitter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆