How to Hide Facebook Page Plugin if the User Already Liked the FB Page

595 Views Asked by At

I know about html,css, and javascript so no worries. I want to hide my facebook page plugin if the users already "Liked" my facebook page. Is this possible?

Please help me thank you so much.

1

There are 1 best solutions below

5
andyrandy On BEST ANSWER

It is not allowed to do that:

Don’t obscure or cover elements of social plugins.

Source: https://developers.facebook.com/policy/#socialplugins

Also, like gating is not allowed and users should always be able to unlike something at the same place where they liked it.