Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Support for pulling status from lists #7

merged 1 commit into from

2 participants


Couple of threads on with people commenting that they don't seem to be able to display tweets from lists - eg

Looking through the code the cause appears to be here - if there's no screen_name specified but there is a list_id then it gets the user, sets the appropriate oauth token but then requests the user's timeline instead of the list data.

@aaroncampbell aaroncampbell merged commit 1453e25 into aaroncampbell:master

Nice catch. Thanks for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-twitter-widget.php
2  wp-twitter-widget.php
@@ -1047,7 +1047,7 @@ public function parseFeed( $widgetOptions ) {
$user = array_shift( explode( '::', $widgetOptions['list'] ) );
$this->_wp_twitter_oauth->set_token( $this->_settings['twp-authed-users'][strtolower( $user )] );
- $response = $this->_wp_twitter_oauth->send_authed_request( 'statuses/user_timeline', 'GET', $parameters );
+ $response = $this->_wp_twitter_oauth->send_authed_request( 'lists/statuses', 'GET', $parameters );
if ( ! is_wp_error( $response ) )
return $response;
Something went wrong with that request. Please try again.