Introduction: Fetch Data From Websites Using XPATH and PHP

This video is around XPATH and PHP. Xpath is a element in the XSLT standard. I Over here our mater of interest is to use XPATH with PHP server scripting language to fetch some required informations from websites, like youtube subscriber count, twitter followers etc. So if you are interested in making something like live facebook or twitter folower counters you ca use it to do the job. You can upload the script to online server or you can use it in your local server or you can even store teh file to raspberry pi server. And if you are new to server and PHP you

can checkout my earlier videos on Making a raspberry pi server or installing XAMPP on your PC for which I have provided the links down below in the description. After putting the script to the

server you just need to call the page to fetch the required data. You can do so from any browser or even if any microcontrollers. In this video I will show you how to retive twitter followers

and youtube subscribers count from my channel.



Setting up XAMPP Server:

Setting up PI as Server :


XPATH Details :


Subscribe YouTube :

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

Support me on Patreon :


Website :

Twitter :

YouTube :

Instagram :