2017-03-17 86 views
1

我正在開發一個應用程序,它連接到Facebook上的特定公共頁面並搜索特定帖子中的評論,我們必須查看所有帖子才能找到具體的標籤,但有一個後與4000+評論,Facebook的拋出此異常:使用Skybrud獲得更多Facebook評論

'StackTrace: Skybrud.Social.Facebook.Exceptions.FacebookException: Please reduce the amount of data you're asking for, then retry your request 
    at Skybrud.Social.Facebook.Responses.FacebookResponse.ValidateResponse(SocialHttpResponse response, JsonObject obj) 
    at Skybrud.Social.Facebook.Responses.Comments.FacebookCommentsResponse.ParseResponse(SocialHttpResponse response) 
    at Skybrud.Social.Facebook.Endpoints.FacebookCommentsEndpoint.GetComments(String id, FacebookCommentsOptions options)' 

正如你可以看到我使用Skybrud,我限制了意見,800和它的作品,但也有更多的意見,我不知道如何檢索其他網頁的評論,任何想法?

謝謝你的時間。

回答

0

也許這可以幫助其他人,使用FacebookCommentsOptions中的兩個成員:之前和之後,來自Facebook的回覆將包含在尋呼部分。然後再次調用GetCommets方法。