Today we are going a bit further and writing a script where we can pull some pages data. So here is the full code, i will explain it below where necessary.
1st of all you have to create an app where we will allow permissions like manage_pages and read_insights etc to have full access to pages tokens etc from that app. So let’s start and try to make it as simple as we can.
I will try to make it simple and easy to follow. No extra steps or configuration here, just the basic stuff which will get you going.
If you have ever worked on Facebook apps as a developer, you will have a bitter experience with facebook because of their changes now and then to the API’s.