| Asset | Resolution / Format | Purpose | |-------|---------------------|---------| | og:image | 1200×630px, 72 DPI | High-res link preview when shared | | fb-highres-badge.png | 600×200px (base) + @2x 1200×400px | Retina-ready custom badge | | Facebook Like button | Uses data-size="large" | Larger, touch-friendly button | Here is a complete, self-contained index.html :
<!-- Facebook Like Button (iframe) --> <div class="fb-like" data-href="https://www.facebook.com/YourPageName" data-width="450" data-layout="standard" data-action="like" data-size="large" data-share="true"> </div> </div> </section> Replace YourPageName with your actual Facebook page username or ID. /* Facebook Like Section */ .facebook-like-section background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%); padding: 3rem 1rem; text-align: center; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; border-radius: 16px; margin: 2rem auto; max-width: 800px; box-shadow: 0 8px 20px rgba(0,0,0,0.05);
.fb-like-container p font-size: 1rem;
Place this right before the closing </body> tag.
.fb-like-container p font-size: 1.1rem; color: #4a627a; margin-bottom: 1.5rem;
.facebook-like-section background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%); padding: 3rem 1rem; text-align: center; border-radius: 16px; margin: 2rem auto; max-width: 800px; box-shadow: 0 8px 20px rgba(0,0,0,0.05);
.fb-highres-badge max-width: 200px;
.fb-like-container h2 font-size: 2rem; font-weight: 600; margin-bottom: 0.5rem; color: #1b2a3e;
| Asset | Resolution / Format | Purpose | |-------|---------------------|---------| | og:image | 1200×630px, 72 DPI | High-res link preview when shared | | fb-highres-badge.png | 600×200px (base) + @2x 1200×400px | Retina-ready custom badge | | Facebook Like button | Uses data-size="large" | Larger, touch-friendly button | Here is a complete, self-contained index.html :
<!-- Facebook Like Button (iframe) --> <div class="fb-like" data-href="https://www.facebook.com/YourPageName" data-width="450" data-layout="standard" data-action="like" data-size="large" data-share="true"> </div> </div> </section> Replace YourPageName with your actual Facebook page username or ID. /* Facebook Like Section */ .facebook-like-section background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%); padding: 3rem 1rem; text-align: center; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; border-radius: 16px; margin: 2rem auto; max-width: 800px; box-shadow: 0 8px 20px rgba(0,0,0,0.05);
.fb-like-container p font-size: 1rem;
Place this right before the closing </body> tag.
.fb-like-container p font-size: 1.1rem; color: #4a627a; margin-bottom: 1.5rem;
.facebook-like-section background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%); padding: 3rem 1rem; text-align: center; border-radius: 16px; margin: 2rem auto; max-width: 800px; box-shadow: 0 8px 20px rgba(0,0,0,0.05);
.fb-highres-badge max-width: 200px;
.fb-like-container h2 font-size: 2rem; font-weight: 600; margin-bottom: 0.5rem; color: #1b2a3e;