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

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

问题描述

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

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...

非常感谢和问候,

Krt_马耳他

推荐答案

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

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

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