Jump to content

Facebook Like Button checking if someone has liked certain page


beanymanuk

Recommended Posts

I am trying to allow a user to proceed to another page but only after a user has clicked a Facebook like button and a check has been done to check if the currently logged in user has liked the specific Facebook Page.

 

How can I go about this?

 

Thanks in advance  :)

Link to comment
Share on other sites

Just an example

You have certain newsposts in ur database with fields (newsID, date, title, content).

You will also have to have a table with the preferences (so wether you like something or not).. with fields (preferenceID, userID, newsID, like)

The standard value for like = 0..

whenever you press a like button it remembers the user who clicked it, the post itself and changes like to 1.. etc

 

i hope that helps

Link to comment
Share on other sites

my site doesn't have any login I want it linked into Facebook so if the user is signed into google on their computer they can click the like button on my site if they havn't already done so. Then after they have clicked like and this is recognized by Facebook I want to allow the user to proceed to another page.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.