README.md in fb_scrape-0.0.1 vs README.md in fb_scrape-0.0.5
- old
+ new
@@ -39,9 +39,21 @@
client.load
puts client.posts.length
```
+#### Limiting the number of posts
+
+ You can limit the number of posts returned
+
+ ```ruby
+ require 'fb_scrape'
+ client = FBScrape::Client.new("page_name", "access_token", "page_id", 10)
+ client.load
+
+ puts client.posts.length <= 10
+ ```
+
### Loading a post
```ruby
require 'fb_scrape'