Twitter4J:从Twitter帐户所有状态 [英] Twitter4J: Get all statuses from Twitter account

查看:220
本文介绍了Twitter4J:从Twitter帐户所有状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Twitter4J API我的应用程序。我想获得的所有状态我对我的Twitter帐户(或如果不是全部,大多数)。这可能吗?目前我使用getUserTimeline(),但只检索近20 ...

非常感谢和问候,

Krt_Malta

解决方案

  //获取第一页的200鸣叫
getUserTimeline(新寻呼(1,200));

I'm using Twitter4J API for my application. I want to get all the statuses I had on my Twitter account (or if not all, most of them). Is this possible? Currently I am using getUserTimeline() but this only retrieves the last 20...

Thanks a lot and regards,

Krt_Malta

解决方案

// retrieves the first page's 200 tweets
getUserTimeline(new Paging(1, 200));

这篇关于Twitter4J:从Twitter帐户所有状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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