@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | 'app_secret' => $this->app_secret, |
45 | 45 | 'default_graph_version' => $this->default_graph_version, |
46 | 46 | ]); |
47 | - }catch (FacebookSDKException $ex){ |
|
47 | + } catch (FacebookSDKException $ex){ |
|
48 | 48 | throw new SocialException(self::class, $ex->getMessage()); |
49 | 49 | } |
50 | 50 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | if(count($post->getAttachments()) > 0){ |
63 | 63 | try{ |
64 | 64 | $data["attached_media[{$a}]"] = $this->upload_attachments($post->getAttachments()); |
65 | - }catch (FacebookSDKException $ex){ |
|
65 | + } catch (FacebookSDKException $ex){ |
|
66 | 66 | throw new SocialException(self::class, $ex->getMessage()); |
67 | 67 | } |
68 | 68 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | try{ |
71 | 71 | $response = $this->client->post("{$this->page_id}/feed", $data, $this->access_token); |
72 | 72 | $id = $response->getGraphNode()->getField('id', null); |
73 | - }catch (FacebookSDKException $ex){ |
|
73 | + } catch (FacebookSDKException $ex){ |
|
74 | 74 | throw new SocialException(self::class, $ex->getMessage()); |
75 | 75 | } |
76 | 76 |