Hey guys
I'm using the facebook graph PHP sdk - whenever I call the $facebook->api method in a loop I end up getting this error
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Apache\htdocs\fb\application\library\facebook-platform\php\facebook.php on line 509
This is the sample code
$data = $facebook->api('/me/likes'); foreach($data['data'] as $like) { $test = $facebook->api($like['id']); }
Is it because of any limit. Thanks