开发者

Facebook like button: How do I prevent people accidently "unliking" my page? [closed]

开发者 https://www.devze.com 2023-01-24 10:59 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_JS百科
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_JS百科

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 3 years ago.

Improve this question

I want to prevent users the ability to unlike my page having clicked they like it because I have it prominently displayed next to my site's header. I am afraid that people will accidentally "unlike" my page having already clicked it once to like it.

So far I have explored a php proxy so I can use a custom css page. Anyone else have any ideas? What about a non-iframe facebook like button?


well, preventing from double click might be hard, but after your page loaded you can get the text the inside of fb like box element, learn the id via firebug) if it is 'liked', you can hide the box..

of course you can do this only for fbml, not for iframe. otherwise, you can't!

i suggest you to check other likebox styles. http://developers.facebook.com/docs/reference/plugins/like-box

0

精彩评论

暂无评论...
验证码 换一张
取 消