twitteroauth icon indicating copy to clipboard operation
twitteroauth copied to clipboard

everything seems ok why im getting this error Sorry, that page does not exist","code":34

Open shahidbasheer opened this issue 11 years ago • 2 comments

get("https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=".$twitteruser."&count=".$notweets); echo json_encode($tweets); ``` ?>

shahidbasheer avatar Jul 06 '15 13:07 shahidbasheer

  1. You should not be using master, it is not guaranteed stable. Pick a specific release.

  2. That's not how the library specifies you should build requests. Instead you should do something like this:

$tweets = $connection->get("statuses/user_timeline", array("screen_name" => $twitteruser, "count" => $notweets));

abraham avatar Jul 06 '15 14:07 abraham

Wao grt it worked! thanks a lot for your reply i'm using api first time and i ruined my whole day searching and removing this error thanks agian abraham

shahidbasheer avatar Jul 06 '15 14:07 shahidbasheer