如何使用PHP检索20个或更多twitter状态?

如何使用PHP检索20个或更多twitter状态?,php,twitter,status,Php,Twitter,Status,这是我第一次使用twitter进行移动开发。我正在使用AdobeFlashAS3和PHP脚本将我自己的twitter状态检索到我自己制作的iphone应用程序中。但是,我无法检索超过20种状态 PHP: 我已经阅读了你给我的twitter文档(),但是我仍然对“如何一次询问20多个状态”感到困惑。网上有教程/示例代码可供参考吗?您的意思是: //use count parameter $count = 30; $url = "https://twitter.com/statuses/user_

这是我第一次使用twitter进行移动开发。我正在使用AdobeFlashAS3和PHP脚本将我自己的twitter状态检索到我自己制作的iphone应用程序中。但是,我无法检索超过20种状态

PHP:

我已经阅读了你给我的twitter文档(),但是我仍然对“如何一次询问20多个状态”感到困惑。网上有教程/示例代码可供参考吗?

您的意思是:


//use count parameter
$count = 30;
$url = "https://twitter.com/statuses/user_timeline/screen_name.xml?count=".$count;
如果您正在查找正在使用的方法,则可以指定一个值,最大值为200

像这样的

http://twitter.com/statuses/user_timeline.xml?count=[count]&screen_name=[user]

从帖子中你不明白什么?我不明白如何在上面的代码中使用Count、max\u id和since\u id。我知道怎么做吗?嗨,文件上说它会包括转发,但不包括这些。如何在代码中使用include_rts?不,您还需要设置
include_rts=1
。因此,所有内容都将类似于@Zainu。对于中的所有参数,您唯一需要做的就是将它们添加到url中,url之间用
&
分隔,您好,谢谢!这是可行的,但它不包含任何转发?我可以知道如何在代码中使用max_id和since_id吗?

//use count parameter
$count = 30;
$url = "https://twitter.com/statuses/user_timeline/screen_name.xml?count=".$count;
http://twitter.com/statuses/user_timeline.xml?count=[count]&screen_name=[user]