Facebook LIKE button hiding when page is already LIKED by user
问题 I'm trying to create a page on my site where the Like button should be hidden if the user already likes the page. If I can't hide it, then maybe there's a way to get a callback when the like button is rendered with a user who already likes the page. This way I can hide/reveal the iframe myself. Any clues? Howie 回答1: Assuming you can echo the ids of the like buttons to the page for the likes you want hidden/get from a JSON call. var hideLikes = ["#like1", "#like2", "#like3", "#like4", "#like5"