Home>Support>Facebook/Twitter Feed
  1. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Craig

    They don’t appear to be working for me at all.

    These feeds usually require some HTML and some JavaScript to be inserted. The JavaScript usually needs to go in the website head. You can use a plugin like https://wordpress.org/plugins/header-and-footer-scripts/ for that,

  2. 8 years, 10 months ago craig79

    Hi Andrew,

    Not sure what the problem is but I already had some code for the Facebook like box as you refer to in your post. Took it out and tried with the above plugin but no different. Currently have wp insert code plugin and you are right without the code I just have a small text link showing. When I put the code in I get the box back but as soon as I look at mobile the box disappears and the twitter feed reverts to showing code on my site? I’m currently viewing it via Chrome, just checked it via Firefox and Edge and it is the same as mobile. So only appears to be working in Chrome, any ideas?

  3. 8 years, 10 months ago craig79

    Update to this… Been trying different things most of the morning with no success but have can across something that might help?

    In my last post I said it was working in Chrome only. Looked at it again and it appears it works in all browsers but only when I am logged into the admin panel of my site for that given browser? If I log out the site will continue to work but if I close the browser and start a new session then it reverts to both the Facebook and Twitter feeds not working again.

    Any ideas why this would be happening?

    Cheers

  4. 8 years, 10 months ago craig79

    Update 2…

    I went through all my plugins disabling them 1 at a time while refreshing the website. When I disable the SiteOrigin Widgets Bundle both the Facebook and Twitter feeds appear to be working. Not sure what to do next?

  5. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Craig79

    Would it be possible for you to create a temporary admin account for us so we can log in and take a look? You can create the account with the following email address:

    [email protected]

    Just navigate to Users > Add New in your WordPress admin. Enter siteorigin for the username and [email protected] for the email address. Make sure you’ve selected Administrator for the role and enabled the “Send Password” field so we receive the details.

    Once we’re finished taking a look, you can delete this account. We’ll let you know when to do that.

  6. 8 years, 10 months ago Private Message - WordPress

    This is a private message.

  7. 8 years, 10 months ago Private Message - Andrew Misplon Hi, I Work Here

    This is a private message.

  8. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    No idea why it’s rendering when you’re logged in.

    Don’t use this code because it has my ID in it, but this is usually how these widgets look:

    1. You insert the script in the site head using a plugin like Header and Footer Scripts:

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5&appId=1579899722288110";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    

    2. You insert the HTML with a Text widget where you want it to display:

    <div class="fb-page" data-href="https://www.facebook.com/facebook" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/facebook"><a href="https://www.facebook.com/facebook">Facebook</a></blockquote></div></div>
    

    The script needs to go in the head of the page, the same goes for setting up a Twitter widget.

    I recommend redoing these and using Header and Footer scripts plugin.

    https://developers.facebook.com/docs/plugins/page-plugin

  9. 8 years, 10 months ago craig79

    Hi Andrew,

    Tried all that and it made no difference. So went back to why it was working with the widget bundle disabled and thought it had to be something to do with the bundle. Changed from siteorigin editor to a text widget and all is working so the editor widget isn’t doing what the text widget does? I thought they did the same so long as you used the ‘text’ field.

    Anyway, it appears to be fixed now so thanks for your help.

    Craig

  10. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Awesome :) Win!

    No, unfortunately, for security reasons, they aren’t the same. There is a certain amount of filtering that happens. Glad you got it sorted. Nicely done.

    Let me know if anything else comes up. All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More