
How to Add a Facebook Like Button: Technical Guide
Here's a clear guide on adding Facebook Like buttons to your website:
Determine Your Website Version
Version 7.1: Follow the steps below to add custom Like buttons Version 7.0: Either use built-in Share buttons or follow these steps (disable Facebook Share button first)
Adding a Facebook Like Button
- Generate the Button Code:
- Visit Facebook's Like Button Configurator
- Generate your custom code (you'll get two code snippets)
- Add the SDK Code:
- Copy the Javascript SDK code (first code snippet)
- Go to Code Injection in your site settings
- Paste the code in the Header field
- Save changes
- Place the Like Button:
- Copy the Like button code (second code snippet)
- Insert a Code block where you want the button
- Paste the button code
- Save and publish

Squarespace blog settings code injection section
Adding Post-Specific Like Buttons
- Navigate to your blog's settings
- Open the Advanced tab
- Find "Blog Post Item Code Injection"
- Paste the Like button code
- Replace your site URL with {permalink}
- Save changes

Facebook Like button
Important Notes:
- Like buttons may not display while logged in
- View in incognito mode to test functionality
- This customization is code-based and not officially supported
- Functionality may vary across templates and devices
- Regular updates might affect custom code performance
For Additional Help:
- Consult Facebook's Developer documentation
- Visit the Squarespace Forum
- Consider hiring a Squarespace Expert
Related Articles

Website Launch Checklist: The Complete Guide to Going Live
