diff --git a/twitter_oauth.php b/twitter_oauth.php index a866a15..aa1c4fd 100644 --- a/twitter_oauth.php +++ b/twitter_oauth.php @@ -150,7 +150,10 @@ protected function fetch_tweets($options) unset($options['consumer_secret']); $access_token_secret = $options['access_token_secret']; unset($options['access_token_secret']); - + + // Unset widget options as they are not needed here and causing a php warning + unset($options['widget']); + // Encode and merge perams $options = array_map('rawurlencode', $options); $params = array_merge($oauth, $options);