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 8029291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:23:32+00:00 2026-06-05T00:23:32+00:00

tl;dr: Is there a certain way to retrieve the posts made to a page,

  • 0

tl;dr: Is there a certain way to retrieve the posts made to a page, but only those made by the authenticated user’s friends?

I am working on an iOS app and I can retrieve ALL the posts made to a page using the GraphAPI method [facebook requestWithGraphPath:@"pageID/feed" andDelegate:self]; and can also retrieve the friends list of the currently authenticated user using [facebook requestWithGraphPath:@"me/friends" andDelegate:self];

Is there a way to filter the first data set to get those submitted only by ids in the second data set server side (ie: through GraphAPI) or is my best option client side (my code) filtering of the results?

  • 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-05T00:23:35+00:00Added an answer on June 5, 2026 at 12:23 am

    You can use FQL to accomplish this with a pretty simple query:

    SELECT post_id FROM stream WHERE source_id = PAGEID AND actor_id IN (SELECT uid2 FROM friend WHERE uid1 = me())

    The second part of this query in parenthesis is selecting a list of user IDs of the current users friends (determined by the access token used to query) and then this UID list is being used to filter the first part of the query which selects a list of post_ids which are posted to a particular page ID (make sure to substitute the placeholder for your own Page ID).

    This will give you just a list of Post IDs, however the stream table documentation will show you more of the fields that you can select.

    Note that FQL might be considered a separate API from the Graph API, however it can actually very simply be run through the Graph API, as shown in this blog post.

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

Sidebar

Related Questions

Is there a way to make a certain page work as a cookieless session?
Is there a way to retrieve only documents from CouchDB where the number of
Is there any way to disable certain metrics from selected packages in Sonar? I
Is there any way that we can mock certain methods using existing objects ?
Is there a way for Website to read certain file from Android SDCard (i
is there a way to batch copy certain wikipedia articles(about 10,000) to my own
Is there any way to get a certain thumbnail generated by PHP from a
Is there a way to automatically convert to a certain type: class A {
Is there an easy way to simply exclude certain words from stemming in solr?
Is there a way to see users that have certain security role assigned? I'm

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.