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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:24:48+00:00 2026-05-24T00:24:48+00:00

I am querying the stream table to retrieve everything that the logged in user

  • 0

I am querying the stream table to retrieve everything that the logged in user has posted recently. I am using the following query:

SELECT source_id, actor_id, app_id, post_id, created_time, message, likes, attachment
FROM stream
WHERE source_id = XXXXX
AND actor_id = XXXXX

The problem is that the response includes entries for when other users have tagged the logged in user in photos, which I don’t consider to be a post from the logged in user him/herself.

I have looked at other fields in the stream table such as taget_id and viewer_id but cannot find a way to limit the results.

Can anyone help me to excludes these tag posts or identify in the returned data which entries are tagged photos (or other things that can be tagged)?

Thank you in advance.

// Peter

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

    You can accomplish what you’re trying to do by looping over the entries, and if the attachment is a photo or video, checking to see if the owner id is the same as the user id. If it’s a different user id, then you know they didn’t post it and they were just tagged in the photo.

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

Sidebar

Related Questions

Im querying a database using JPQL but I cannot retrieve the 'Report' table's rows
AM querying an access database from vb6 using the following query INSERT INTO stock([i_name],[ref],[qty],[supplier_id])
on querying a camle jpa component like <from uri=jpa:jpa.camel?consumer.query=select x from jpa.camel x/> <to
I am querying the ContactsContract.Data table in Android using a ListView to display the
Simply querying running jobs using something like select * from dba_jobs_running; works fine when
Querying a Nested Set Model table , here's the SQL... how can this be
When querying with LDAP against our Active Directory structure to look up user accounts,
I'm querying a bunch of information from cisco switches using SNMP. For instance, I'm
Well I am querying my DB, a table called bookBilling, to get a value
I am querying data from views that are subject to change. I need to

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.