lib/fb_graph/collection.rb in fb_graph-2.6.5 vs lib/fb_graph/collection.rb in fb_graph-2.6.6
- old
+ new
@@ -43,10 +43,10 @@
def fetch_params(url)
query = URI.parse(URI.encode(url)).query
params = {}
query.split('&').each do |q|
key, value = q.split('=')
- if ['limit', 'offset', 'until', 'since'].include?(key)
+ if ['limit', 'offset', 'until', 'since', '__after_id', '__before_id'].include?(key)
params[key.to_sym] = URI.unescape(value)
end
end
params
end
\ No newline at end of file