Abstracted the feed response parsing procedure, fixed a bug in the loop