diff options
author | emkael <emkael@tlen.pl> | 2019-06-13 15:44:35 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-13 15:44:35 +0200 |
commit | 5c10dbc4ce05e1e9c8dc2343f12b7d2dd3492b93 (patch) | |
tree | 56d4b39142aa635399f65c2e1fe9e30107a89d6f | |
parent | 43c399e8acc208c17096836e516886bdf73f9f11 (diff) |
:/
-rw-r--r-- | providers/Facebook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/Facebook.php b/providers/Facebook.php index 0f9afe1..5eb0181 100644 --- a/providers/Facebook.php +++ b/providers/Facebook.php @@ -41,7 +41,7 @@ class Facebook extends \Providers\HtmlFeed { ); $data = array_pop($data); $data = $data['post_context']; - $key = $data['story_fbid']; + $key = ((array)($data['story_fbid']))[0]; $texts = []; foreach ($header->find('p, h3') as $paragraph) { $texts[] = utf8_decode($paragraph->text()); |