开发者

Zend Framework Twitter Service Requires Authentication for UserTimeline?

开发者 https://www.devze.com 2023-01-16 17:50 出处:网络
I am using the Zend_Service_Twitter class to retrieve my userTimeline, however since August, I am no longer able to use Basic Authentication. This is perfectly fine, since userTimeline does not requir

I am using the Zend_Service_Twitter class to retrieve my userTimeline, however since August, I am no longer able to use Basic Authentication. This is perfectly fine, since userTimeline does not require authentication at all.

Strange enough, Zend_Service_Twitter thinks userTimeline requires full authentication (using oAuth tokens) to retrieve an 开发者_如何学Pythonunprotected twitter userTimeline. Is there a way around this that allows me to use all the normal userTimeline twitter api variables.

Thanks


I recently ran into this same issue - however, instead of trying to fix the broken Zend class, I just used the Search API.

$searchString  = 'from:leeked';
$twitterSearch = new Zend_Service_Twitter_Search('json');
$this->twitter = $twitterSearch->search($searchString, array('rpp' => 15));
0

精彩评论

暂无评论...
验证码 换一张
取 消