I created a Facebook app mostly built in jQuery. I need to now check if a user liked a particular page. However, this needs to be added to a jQuery click() function (so if the user clicks on the button, it will give a dialogue stating they cannot continue without liking the page) and effectively stops the script from running.
My entire application uses jQuery, it’s not different pages, so I really need interaction between jQuery and Facebook JSDK but I am not sure how the integration will work. Does anyone have useful resources for me to have a look at? Or perhaps a script 🙂
use this:
And in your html/jsp/php, add this line:
Channel file is not mandatory but advisable. Check fb docs for more info.