Why does the Graph API profile feed return deleted posts?

I am having the exact opposite problem that I find in many searches. The graph API result for the page feed I am grabbing is including posts that the page administrator has deleted from display on the page itself (via the standard FB user interface).

I want to display a feed of recent activity on the site, but the client does not want certain content associated with the brand, so they need to be able to police the feed. Is there any way to identify "deleted" wall posts and not display them from the feed results?

Upvotes: 1

Views: 1831

Answers (1)

Richard Barnett
Richard Barnett

Reputation: 1108

The FQL stream table contains wall posts and supports a boolean is_hidden column, so you could try a query like

select post_id,actor_id,message from stream where source_id=26920394576 and is_hidden=0

to see whether it omits the deleted posts.

Running the query now I see 1 post from "Free Coupons" which has been hidden, and another which hasn't - and it's the latter that appears on the Skyline Chili page.

You can execute FQL via the Graph API using /fql?q=select ....

Upvotes: 2

Related Questions