I ran into the following problem. I would like to know how to get all the messages that were sent by my friend using FQL. I am using the following query:
SELECT post_id, type, source_id, actor_id, target_id, via_id, app_id FROM stream WHERE source_id=<friend_id> AND via_id LIMIT 0,100
but unfortunately it returns an empty list. At the same time, when I execute the following query for my account, I get a list:
SELECT post_id, type, source_id, actor_id, target_id, via_id, app_id FROM stream WHERE source_id=me() AND via_id LIMIT 0,100
I created a token for all possible permissions. Can someone please tell me how to solve this problem?
Yury source share