Link to home
Start Free TrialLog in
Avatar of Nathan Riley
Nathan RileyFlag for United States of America

asked on

Facebook API Check if Post Exists

I'm pulling back some data on my Facebook page posts via the graph method in my PHP page.

https://developers.facebook.com/tools/explorer/145634995501895/?session_id=1652525668367092

This all works because the post exists.  But I need a method to check if the post exists and hasn't been deleted.  Here is an example of a post I posted, then deleted.
https://developers.facebook.com/tools/explorer/145634995501895/?session_id=1659738924262589

It just brings back an error.  I need a way in my php code to check. Is there no Facebook API call to check if exists?
ASKER CERTIFIED SOLUTION
Avatar of Nathan Riley
Nathan Riley
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial