goldsky / spiefeed

Feeds aggregator for MODx Revolution based on SimplePie
http://simplepie.org/
8 stars 4 forks source link

Facebook Page Feed Breaks when setting limits #8

Closed philemall closed 11 years ago

philemall commented 11 years ago

Will successfully load in feed if there is no start or limit set. Below snippet call will work fine.

[[!spieFeed? &setFeedUrl=http://www.facebook.com/feeds/page.php?format=rss20&id=219327118099239]]

Once I add a limit with following call:

[[!spieFeed? &setFeedUrl=http://www.facebook.com/feeds/page.php?format=rss20&id=219327118099239&getItemStart=0&getItemLength=3]]

receiving facebook error saying:

" This feed URL is no longer valid. Visit this page to find the new URL, if you have access: http://www.facebook.com/profile.php?id="

Is the feed URL being modified by spieFeed so the url is broken when a limit is set?

goldsky commented 11 years ago

You mean this?

[[!spieFeed?
&setFeedUrl=`http://www.facebook.com/feeds/page.php?format=rss20&id=219327118099239`
&getItemStart=`0`
&getItemLength=`3`
]]

It seems to me the properties are appended to the URL. This one works for me.

philemall commented 11 years ago

That's what I had, github replaced `` with some weird highlighting box.

When I copy/paste your code just to be sure, I still receive the error:

" This feed URL is no longer valid. Visit this page to find the new URL, if you have access: http://www.facebook.com/profile.php?id="

goldsky commented 11 years ago

Hmmm... Probably because of your server's settings? http://revo.virtudraft.com/spiefeed/facebook-feed.html

philemall commented 11 years ago

So weird, because up until last week, this worked fine. As far as I know there have been no changes to our server. (I'm the administrator)

On Mon, Jul 1, 2013 at 1:00 PM, rico notifications@github.com wrote:

Hmmm... Probably because of your server's settings? http://revo.virtudraft.com/spiefeed/facebook-feed.html

— Reply to this email directly or view it on GitHubhttps://github.com/goldsky/spiefeed/issues/8#issuecomment-20298972 .

........................................................................................................ PHILIP BENNETT · web developer · (309) 235.0784 · philipbennett.net

goldsky commented 11 years ago

If it worked before, try to delete the spieFeed's cache files, if there is any.