samuelclay / NewsBlur

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.
http://www.newsblur.com
MIT License
6.92k stars 1k forks source link

API Call to reader/feeds/ returns the wrong feed IDs? #481

Closed asafge closed 10 years ago

asafge commented 10 years ago

Hey Can't really make a general bug report out of this so I'll just show an example with my account. So right now, when I'm using the API to fetch all of my feeds (using flat=true), one of the feeds I get back is '5345299'. The problem is - I'm only getting it in the 'flat_folders' array, and not in the 'feeds' array.

I went to http://www.newsblur.com/site/5345299/ to find out what is this weird looking feed, and it turns out I'm subscribed to it, only on my account it's showing a different feed ID - 4644579.

Samuel - I've emailed you a json file, I think it'll be easier to understand the issue this way.

Thanks.

samuelclay commented 10 years ago

Ah-ha, just ignore the extra feed id. Occasionally I clean out subscriptions to remove the merged feed ids. You just have to handle that on your end by ignoring feed ids that don't have a corresponding feed.