Using FQL to get facebook status for all users who use the My Facebook app

I would like to receive the status of all users who use my Facebook application. I’m not interested in getting the status of friends of users who are only interested in the fact that users who use my Facebook application have granted my application read_stream permission.

I can successfully obtain the status of a registered user or one of the registered friends of a user by calling:

SELECT post_id, message, attachment, type FROM stream WHERE source_id = "SOME ID" AND type IN (46, 247) 

But that is not my goal. I would like to get β€œall” users who use my Facebook application and get their latest status feed without having to enter a user into it.

For example: I have not logged into facebook now neither to you, nor to you. But when you click the link below, you will get the RSS feed for that particular user. This user is actually a business page, so it is open to the public. Click Link

I would like to receive this information from users who allow my applications to "read the stream."

I can not get this information on the personal pages of a Facebook user. Therefore, it seems to me that I need to create a Facebook application for this.

+4
source share
1 answer

It is not possible to get the list of user IDs of your applications, and if you already have user IDs, you already have the correct request format - you simply use the access token from users to make this call

The fact that you cannot get the list is described here: Facebook. How to get a list of all users of my application?

If you need status updates for all your users, you should probably use the Realtime Updates API to receive a notification sent to your application when a user adds a new message, you can then use the cache key [and still valid] token for this user to receive new messages

+1
source

Source: https://habr.com/ru/post/1443053/


All Articles