Retrieve data from twitter api streming in PHP


#1

Hi
I try to retrieve data from the Twitter API in PHP, I was able to make the connection but I have a problem with the request, he always knew my local site displays this message
[message] => Sorry, that page does not exist
[code] => 34
my query is

$query='https://api.twitter.com/1.1/statuses/user_timeline.json';

#2

The endpoint you are referring is not the Twitter Streaming API but actually the REST API.