php - Taking a manual RSS feed from a Facebook page - am I missing something? -
i trying take rss feed client's facebook page, rework contents (posts), edit , present resulting data on website. don't want use widget 3rd party , neither want use facebook api's not give me access raw data. i have taken feeds before , code have provided works nbc, google etc. nothing facebook. url using works fine in browser not in code , hoping here can point no doubt obvious error. $xml=("<http://www.facebook.com/feeds/page.php?id=xxxxxxxxxxxxxx&format=rss20>") $xmldoc = new domdocument(); $xmldoc->load($xml); //get elements "<channel>" $channel=$xmldoc->getelementsbytagname('channel')->item(0); $channel_title = $channel->getelementsbytagname('title') ->item(0)->childnodes->item(0)->nodevalue; $channel_link = $channel->getelementsbytagname('link') ->item(0)->childnodes->item(0)->nodevalue; $channel_desc = $channel->getelementsbytagname('descriptio...