Twitter streaming api in PHP


Hi, anyone has done getting real-time data from Twitter streaming API in PHP coding language ? I thinking to get the real-time data and store in my MYSQL database to show in website. I have tried several ways in this few day, but keep getting NULL response and account authentication error. Anyone could help me on this by providing link or sample code ? Thanks in advance.


Here is a list of PHP libraries for the Twitter API. There are many on GitHub as well and most will contain code examples.


To add to @joncipriano’s answer, we have also recently started a new community repository of code examples - so if you do come up with a good example of a way to do this, feel free to contribute!


I’v developed a client for this
You have a tutorial in the bottom how its done