Social Media Integration
I recently bumped into an issue with a Facebook social plugin not working properly for logged out Facebook users. The Facebook social plugins enable you to share your Facebook content such as fanpage streams, fans, and other data right on your website.

While working on a client’s website I recently came across this issue that I believe may be a new one that many people will be having problems with and prompted me to post this quick tip.  The photo below will expand for a better look if you click to view, if this helps you please let me know by posting a comment on this post and I’ll share more useful tips in the future:

I’m not sure if this is fallout after the recent Facebook privacy issues but after pulling my hair out for hours trying to untangle this mess and on the verge of giving up, I found the solution was one tick box away!

The problem that was occurring on the client’s site was whenever a visitor who was currently logged out of Facebook viewed his business web page, the Facebook social plugin did not present the data as it regularly did and instead showed a message that read something like “Facebook Public Profile Login to see this content.”

I soon realized after much to do that the reason the Facebook social plugin was not appearing to all visitors to the website had to do with this specific Facebook fanpage’s permissions and namely, the age restrictions.

By default a new Facebook fanpage is set to the following age restriction: “People 18 and over.”

By simply going to the Facebook fanpage in question and clicking “edit page” in the upper right corner (you must be an admin of the page to see this option), and then selecting “manage permissions,” I was able to correct the issue of the Facebook social plugin not displaying any information for logged out Facebook users visiting the company’s website.

Once on the “manage permissions” page change your age restriction settings to “Anyone 13+” and this will most likely solve your problem and make the Facebook social plugin appear correctly on your (or your client’s) website.

I’ve attached a screen shot with a brief walk through to this blog post to help others sort this problem out because I found this very simple solution through hours of trial and error. There’s currently not much help or support documentation to be found anywhere on the internet or on Facebook regarding this particular problem causing me to suspect that this may be a relatively new issue.

Just click the thumbnail image above for a quick walk through on how to fix your Facebook Social Plugin Issues…

If you found this post helpful or are having a related issue please drop a comment below or share this post so that others may find the solution.

Chris Vendilli

Chris Vendilli is the founder of ProFromGo Internet Marketing, a Pittsburgh based creative marketing agency that offers services in web design, mobile web design, search engine optimization, social media management, and mobile app development for businesses and organizations. You can connect with Chris and ProFromGo on Google +, Twitter, Facebook, LinkedIN, and YouTube.

  • http://www.business-online-guidance.com/ Steven Fabian

    Wow Chris, this was EXACTLY what I’ve been looking for. You provided so much help, I was jut about to tear my hair out, but thanks to you that won’t be necessary.

    Thanks again,
    Steve

    • http://www.profromgo.com Chris Vendilli

      Hi Steven, glad it helped someone else… I wasted the better part of an evening struggling with it myself.

  • Muz

    Good post!

    Something else to mention is you cannot have ANY country conditions set or it won’t work. Needs to be empty.

    • http://www.profromgo.com Chris Vendilli

      Thanks for the extra tip Muz!

  • Alana

    I am still having issues. I changed the permissions but all I see in my recnet activity plugin is “sign up or log in to see what your friends are doing” and the rest of the plugin is blank. any idea why I cant see the recent activity? its really bothering me that i cant figure it out..any advice would be greatly appreciated.

  • http://about.me/macdarabutler Macdara

    Thanks very much for this post, it was the age restriction catching me out. There is no way for Facebook to handle an age restriction if a user isn’t logged in so they show nothing.

  • Andy

    This didn’t work for me. I’m still getting the same error message ‘No recent activity to display’

    • http://www.profromgo.com Chris Vendilli

      Thanks for the inputs. Sorry it didn’t work for you. There could be other issues aside from this of course. How did you embed the social plugin?

  • http://www.pirthe.com rabbil

    I’m trying to add the Facebook Like Box social plugin in my website(I took the code from the official documentation).

    It works fine but only if I’m logged into Facebook; if not it just shows

    (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_US/all.js#xfbml=1″;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));

    • http://www.profromgo.com Chris Vendilli

      In the quotes on your js.src line try adding “http:” before the “//connect…” It appears to be wrong at a glance.

  • http://www.enact.org Jennifer

    Thanks for the article. Especially thanks to the commenter who pointed out the country restriction; that was my problem!