Hi
I have a page named 'xyz'. and I have a webpage xyz.com
Now I want that visitor must like my page to view my web site. So I need a code which will check whether my page has been liked by user or not.

NB: I dont have any ssl in my site. Plz help me. Thnx

Recommended Answers

All 3 Replies

I don't have a FB account, can I view your site?

Also how will you know who the user is?

This is an awful idea!

@DaveAmour I have seen such site, Which check the page has been liked or not and then according to that page showed :) Why u think this is awful ?

Because Facebook likes should be given because someone likes your site. If they have to like your site to use it then that is abusing the system. Its pretty simple really - don't you see that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.