Suppose we put a button on the link "http://myshop.com/product/1"
We want to check whether the user does not like "http://myshop.com/product/1" on this link. If the user liked it. We will give some rebate for him or give him some reward.
How to do it
Until it is an open graph URL You can see the table
SELECT user_id url_like WHERE user_id = me () and url = "THE_URL_TO_CHECK" will be user_id in a successful JSON response, so that You should do a conditional job to return true or false after executing the query.
Comments
Post a Comment