How to fetch more than 25 post messages

前端 未结 4 798

I\'m trying to get all post messages using restfb, my code is as follows

public Connection publicSearchMessages(Date fromDate, Date toDate) {
    Co         


        
4条回答
  •  礼貌的吻别
    2021-02-14 18:21

    There is no way to fetch unlimited results from FB. The default limit is set to 25. As you know, you can change this using the limit parameter. I have not found an upper border for limit searching the web. Maybe, you can set it to a very high amount.

提交回复
热议问题