Now need to do such a project, in the app side to share links, QQ space, Weibo and other places, share links in a bit like the function, each user can only one picture to praise once.
- In the built-in browser, you can use Snsapi_base to get the user's OpenID to determine if the user has been liked. Http://mp.weixin.qq.com/wiki/17/c0f37d5704f0b64713d5d2c37b468d75.html
- But in order to share, QQ space, microblogging and other places, so that the need for different applications for a variety of different judgments. Allison told me something called Localstorage local storage. When users like it, they now determine whether they can be liked based on what is stored in localstorage. This solves the problem of judging whether or not to praise the point. However, if the user clears the cache, the localstorage is not valid.
Write your own article good slag slag ... No connotation, plain English, journal. Really should be more technical blog, otherwise, did not forget the things.
Share the link under each person once likes