php - Facebook: Check if post id exists on fb user wall using read_stream -
i have app on facebook publishes stories on users wall. trying prevent spamming users wall same story being published multiple times did.
after successful share store facebook post id on servers database. stuck @ part have check if post id stored on servers db exists on users wall before posting story?
i requested publish_stream , read_stream!
thank you.
https://graph.facebook.com/<post_id>?access_token=<users access token>
, if "truthy" response back, post exists, if graph api error/exception, doesn't exist.
Comments
Post a Comment