Advertisement
Guest User

Publish to Facebook2: Line 350

a guest
Jun 6th, 2013
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. $json_response = json_decode($response['body']);
  2. if (is_object($json_response) and property_exists($json_response, 'error')) {
  3.         throw new FacebookUnexpectedErrorException((is_object($json_response->error) and property_exists($json_response->error, 'message')) ? $json_response->error->message : '');
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement