wearethoughtfox / amnesty-facebook

0 stars 0 forks source link

Pagination for taggable friends #10

Closed robertocarroll closed 7 years ago

robertocarroll commented 7 years ago

This link shows Facebook's approach to pagination: https://developers.facebook.com/docs/graph-api/using-graph-api/#paging

Could have a next / previous below the friends list. Would need to return to the top of the scroll in that div.

robertocarroll commented 7 years ago

I'm skirting around this issue, but I found this example from backbone.pagination:

https://github.com/backbone-paginator/backbone.paginator#infinite-mode

Can you see what's happening here? The steps would be:

robertocarroll commented 7 years ago

See also https://github.com/backbone-api/facebook/blob/d9663596b477d485db75bd9805f74e5096ee41d3/backbone.api.facebook.js

For creating collections with the Facebook API.

robertocarroll commented 7 years ago

See also: https://maxoffsky.com/maxoffsky-blog/in-place-pagination-using-backbone-js-laravel-shop-tutorial/

robertocarroll commented 7 years ago

Done https://github.com/wearethoughtfox/amnesty-facebook/pull/26