1
0
Fork 0
forked from blallo/rss-bridge

Merge pull request #241 from LogMANOriginal/FacebookBridge

[Facebook] Select page content one level further down
This commit is contained in:
Mitsu 2016-04-14 08:26:58 +02:00
commit 99b7d2e6b4

View file

@ -7,7 +7,7 @@ class FacebookBridge extends BridgeAbstract{
$this->name = "Facebook"; $this->name = "Facebook";
$this->uri = "http://www.facebook.com/"; $this->uri = "http://www.facebook.com/";
$this->description = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117"; $this->description = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117";
$this->update = "23/10/2015"; $this->update = "31/03/2016";
$this->parameters[] = $this->parameters[] =
'[ '[
@ -146,7 +146,7 @@ class FacebookBridge extends BridgeAbstract{
} }
//No captcha? We can carry on retrieving page contents :) //No captcha? We can carry on retrieving page contents :)
$element = $html->find('[id^=PagePostsSectionPagelet-]')[0]->children(0)->children(0); $element = $html->find('[id^=PagePostsSectionPagelet-]')[0]->children(0)->children(0)->children(0);
if(isset($element)) { if(isset($element)) {