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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -