christianseel/fbLikes — pull request #3 by Mark-H (2012-04-15 23:32:09+00:00)
Title: Add some sanity checking

We're checking if $graphdata was a valid JSON string ($response will be false if it wasn't), we check if $response is an array and if the "likes" key is actually set.