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

  • Home
  • SEARCH
  • 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 6368771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:43:05+00:00 2026-05-25T00:43:05+00:00

When you query the stream table for a fan page wall contents, you get

  • 0

When you query the stream table for a fan page wall contents, you get back contents posted on the fanpage wall mentioning the page and also posts from a fan on their own wall which mention the page. Is there a way to distinguish between these two types in the stream response?

For example, here is a fan page http://www.facebook.com/signalhq which pulls a post from a user who has tagged the page in his own post

http://www.facebook.com/jeff.judge/posts/10150356144351153

Is there a way to differentiate this above post from other posts on that wall? I can’t find anything in the fql stream api doc to accomplish this.

  • 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-05-25T00:43:05+00:00Added an answer on May 25, 2026 at 12:43 am

    As a slight modification of ifaour’s post, you should run this FQL query:

    SELECT target_id, post_id, message, actor_id, tagged_ids FROM stream WHERE source_id = PAGEID

    The target_id field will allow you to know the object that the Post was made on. If this was the user posting on their own wall (and tagging the Page) then the target_id won’t be the Page’s ID. If the user posted on the Page wall AND tagged the Page in that post, then the target_id will be the Page ID.

    Check out target_id on the stream FQL docs to make this clear: https://developers.facebook.com/docs/reference/fql/stream/

    Edit: Clarification of the results you should be seeing:

    A Post by the Page on the Pages Wall:

    • target_id = null
    • actor_id = PAGEID

    A Post by a user on the Pages Wall:

    • target_id = PAGEID
    • actor_id = USERID

    A Post by a user on their own wall that tags the Page:

    • target_id = null
    • actor_id = USERID

    Hopefully this should help you to differentiate?

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

Sidebar

Related Questions

In Microsoft SQL Server 2008, when executing .query('{xpath}/text()') on an XML stream column value,
I have this query: SELECT COUNT(articles.id) AS count FROM articles, xml_documents, streams WHERE articles.xml_document_id
Query: SELECT DISTINCT ([Equipment List].ID) AS Expr1, [Job Assignments].Job FROM [Equipment List] LEFT JOIN
Query was this: CREATE TABLE `query` ( `id` int(11) NOT NULL auto_increment, `searchquery` varchar(255)
This query works great: var pageObject = (from op in db.ObjectPermissions join pg in
I'm trying to find the best way to query both news feed and wall
I have written a code for downloading a file(blob in database table).I get a
Hi trying to use the stream table to access a friends news feed SELECT
I have a table with 4 columns, id , Stream which is text, Duration
I am querying the stream table to retrieve everything that the logged in user

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.