• Resolved rox32

    (@rox32)


    Hi,

    I don’t know the consequences of long-term use, I would highly appreciate your help.

    I want to manually add the Facebook Like Button. I tried to insert the Javascript SDK code in my theme’s files, didn’t find the right place to paste the second part of the code.

    I thought about using the IFrame code instead. I pasted it in a HTML block at the end of each post. This doesn’t bother me, I would prefer to do this for every post from now on. If I try to edit the block again, there is a message: the content is inappropriate or invalid. Did I choose the wrong block? The button works fine in the front end. You can check that if you access the link.

    So, is this option ok for long-term or I’d better install a plugin again?

    Thanking you,
    Rox

    • This topic was modified 5 years, 2 months ago by rox32.
    • This topic was modified 5 years, 2 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK is relative.
    Thinking long term, your posts will contain the HTML. This is hard to maintain because Facebook could change how to do a button, you might want to use your content somewhere else without the button, Facebook could fold, you could leave Facebook, you could change your account at Facebook, Facebook policies could change so they serve ads on their buttons, etc., etc.
    The way you have chosen is manual and so changing your mind has maintenance consequences.
    If you use a plugin, it’s much easier to change your mind, and your content is not polluted with external things (think of what your post would look like in an email or RSS feed). The plugin bears the brunt of Facebook’s changes, and you can switch plugins at any time.

    Edit: I forgot to mention that Facebook Like buttons are pretty much worthless these days, since Facebook changed how they work. It used to be that Facebook showed your Likes in your feed, so other people saw them. Now they don’t show them, so having a Like button on your page is only seen on your page. So trying to connect the two is pointless, and just incurs tracking and slowdown waiting for the external site to respond, all for nothing.

    • This reply was modified 5 years, 2 months ago by Joy.
    Thread Starter rox32

    (@rox32)

    @joyously I can see it clear now. You’re definitely right, I didn’t think about so many aspects. Thanks for your answer!

    All the best,
    Rox

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Manually paste IFrame code in my blog posts for Facebook Like Button’ is closed to new replies.