简体   繁体   English

如何在iOS4中发布图像

[英]how to tweet a image in iOS4

I want to tweet a image which I would be sending from my app.I am using Twitter_Oauth API for my application. 我想发布我将从应用程序发送的图像。我正在为应用程序使用Twitter_Oauth API。 For updating status I use: 为了更新状态,我使用:

    [_engine sendUpdate:@"This is my tweet"]; 

But how to tweet a image ? 但是如何发推特图像呢? sorry, i didnt find any relevant documentation... 抱歉,我没有找到任何相关的文档...

Use ShareKit It's powerful. 使用ShareKit功能强大。 It supports as image as text posts to Twitter (and not only - Facebook, ReadItLater and some others). 它作为图像以文本形式发布到Twitter(不仅限于Facebook,ReadItLater等)。

You can use share kit for this or you can use OAuth protocol or use can twitpic api to upload photo on twitter. 您可以为此使用共享工具包,也可以使用OAuth协议或使用can twitpic api在Twitter上上传照片。 you have to register your app in Twipic check out the Demo http://sourceforge.net/projects/tweetphoto/files/TestTwitpic.zip/download 您必须在Twipic中注册您的应用,并查看演示http://sourceforge.net/projects/tweetphoto/files/TestTwitpic.zip/download

The demo is working properly but some times it gone crash 该演示正常运行,但有时崩溃了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM