summaryrefslogtreecommitdiff
path: root/providers/Facebook.php
diff options
context:
space:
mode:
Diffstat (limited to 'providers/Facebook.php')
-rw-r--r--providers/Facebook.php2
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());