Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9253231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:09:59+00:00 2026-06-18T11:09:59+00:00

I am looking for a solution which I can get that last 50 comments

  • 0

I am looking for a solution which I can get that last 50 comments to the page’s wall, or all comments in an hour to the page’s wall and posts date wont matter, could be posted 2 years before but If gets a comment in an hour I need to get it. I don’t want to get all posts and look one by one.

thank you for your effort

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:10:00+00:00Added an answer on June 18, 2026 at 11:10 am

    The first one is easy. Issue an API call to this endpoint:

    /PAGE_NAME_OR_ID/feed?fields=comments.limit(50)
    

    You will be restricted to the normal limits of feed, so the comments returned here will only be those made on the last 30 days or 50 posts, whichever is fewer.

    If you want the last 50 comments, you’ll need to use FQL.

    SELECT time, text, text_tags, post_id FROM comment WHERE post_id IN 
      (SELECT post_id FROM stream WHERE source_id IN 
         (SELECT id FROM profile WHERE username="cocacola") LIMIT 100) 
      ORDER BY time DESC LIMIT 50
    

    Keep in mind that Facebook’s filtering algorithms operate after FQL. You may need to increase the LIMIT values substantially to be guaranteed get 50 results.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a caching solution for java which can support query cache/indexing.
I'm looking for a solution which can be used to reboot a rooted device.
Say I'm given a date, from which I can get its day of the
I am looking for an addition for our livestream and podcast solution, which uses
I'm looking for solution how can run Ruby script without invoking it directly like
I'm looking for solution to get time to click on element using implicitlyWait in
I am looking for a solution which would allow me to code for Linux
i am looking to answer one of those problems that sometimes get give to
I am looking for a solution for this problem for days and I can't
For image scanning purposes, I'd like a pixel (which I can get from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.