Browsing articles tagged with "facebook Archives - PHP Dev Tips"
Jun
22
2013

Retrieving Facebook Open Graph Data with PHP

Ever wonder, “Huh, I have a company page on facebook, but DAMN it’s lame to have to login to se the stats”?  I did, and as always- let’s grab some data with PHP! CODE! At the core of nearly anything you want to do with the facebook open graph is this url: https://graph.facebook.com/(username or id) And really, this doesn’t get a whole lot longer for the basics, we just need to use file_get_contents and json_decode […]