user1782638
user1782638

Reputation: 130

Facebook Graph API filter application by id

I've been trying to migrate my app from FQL to GRAPH API but I'm finding it more difficult than expected. I want to filter the posts by application ID. This is, I want to list all the posts made using my application. The FQL query is working fine but somehow I cannot replicate it on the GRAPH API.

My FQL query is the following:

    fql?q=SELECT post_id, actor_id, message, app_id, attribution FROM stream WHERE source_id = me() AND app_id = 'XXXXXXXXXXX'

Many thanks all!

Upvotes: 0

Views: 775

Answers (1)

Tobi
Tobi

Reputation: 31479

I think you'll have a hard time doing what you want after April 30th 2015, because you'll need the read_stream permission approved by Facebook, which is quite unlikely.

Anyway, with the pure Graph API, you can only filter on some (FB) app ids, as described in

Sample call:

GET /me/feed?filter=pp 

would give you only page posts for example.

Upvotes: 1

Related Questions