I have been developing a website under a classic domain I'd and that i had like buttons online (produced dynamically [in PHP] as new content was added) which were working fine however I transformed the domain to another thing and that i up-to-date so on buttons so that they would still such as the same content however now they are no longer working.

After I click them they simply expensive up saying I have loved it and they go back to normal saying I've not. I have attempted developing a new like button with the Facebook like button generator but on the website it pops up with "error" (in red-colored) basically attempt to click on the button I have just produced.

And I have also attempted linting the URL however it just pops up with "Error Parsing URL". I have attempted looking for Google for any solution but I have didn't have luck.