Seeing "Uncaught ReferenceError: FB is not defined in console"
|Added at||2016-12-30 02:12|
In a process of hiding piece of content for people who didn't like our page yet. Using Facebook SDK for the first time. The idea is to have a call to action text and button. Once button is clicked, if user already likes our page- it shows a piece of content. If not- shows a like button and shows piece of content after it's clicked.
Here is connecting SDK
And here is actual code for checking