diff --git a/_includes/twitter.php b/_includes/twitter.php index 62f8082..d1da708 100644 --- a/_includes/twitter.php +++ b/_includes/twitter.php @@ -41,7 +41,7 @@ $twitter = new TwitterAPITimeline($settings); $json = $twitter->setGetfield($getfield) // Note: Set the GET field BEFORE calling buildOauth() - ->buildOauth($url, $requestMethod) + ->buildOauth($url) ->performRequest(); $twitter_data = json_decode($json, true); // Create an array with the fetched JSON data @@ -206,4 +206,4 @@ function formatTweet($tweet) { echo ''; # echo $json; // Uncomment this line to view the entire JSON array. Helpful: http://www.freeformatter.com/json-formatter.html -?> \ No newline at end of file +?>