有没有微博的演示示例发布的照片​​在Twitter与微博使用OAuth? [英] is there any twitter demo example to post photo on twitter with using OAuth in twitter?

查看:239
本文介绍了有没有微博的演示示例发布的照片​​在Twitter与微博使用OAuth?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要上传的照片在Twitter上像ttweet照片。 通过搜索网上我得到了twiiter4j例子的一些示例鸣叫的照片在Twitter上。但在这个例子演示中,我必须输入静态用户名和密码后。 我想是进入和管理的用户名和密码,由Twitter的OAuth,并张贴在Twitter的照片... 那么,有没有演示,可以使用邮政的照片在微博Twitter的OAuth的?

I want to upload the Photo on Twitter as like ttweet photo. by Searching on net I got Some Example of the twiiter4j example to tweet the Photo on twitter. but in that example demo I have to enter the static Username and Password to post. I want is to enter and managed the username and password by twitter OAuth and post the photo on twitter... So is there any Demo that can Post the Photo on Twitter using Twitter OAuth?

推荐答案

Twitpic是你的照片(推特Twitter上)托管的地方。所以一旦你获得twitpic的用户名密码,可以使用下面code示例项目上传的照片吧。这将只是上传照片并为您提供了link.so最后你将不得不code张贴的鸣叫该链接到微博。

Twitpic is the place where your photos(tweeted on Twitter) are hosted. So once you get the username password for twitpic,you can upload photo to it using below code sample project. It would just upload the photo and gives you the link.so finally you will have to code for posting that link onto twitter as tweet.

下面是完整的项目示例: https://github.com/lorensiuswlt/AndroidTwitpic

Here is the complete project sample: https://github.com/lorensiuswlt/AndroidTwitpic

这篇关于有没有微博的演示示例发布的照片​​在Twitter与微博使用OAuth?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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