From dda6fd99d7ccb003eaa27527a33713f8dc3d4e84 Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Tue, 30 Apr 2013 12:50:02 -0300 Subject: [PATCH] Use correct parameter for screen names --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index edbc0a1..ab0f790 100755 --- a/index.php +++ b/index.php @@ -29,7 +29,7 @@ /** Perform a GET request and echo the response **/ /** Note: Set the GET field BEFORE calling buildOauth(); **/ $url = 'https://api.twitter.com/1.1/followers/ids.json'; -$getfield = '?username=J7mbo'; +$getfield = '?screen_name=J7mbo'; $requestMethod = 'GET'; $twitter = new TwitterAPIExchange($settings); echo $twitter->setGetfield($getfield)