سؤال

I'm trying to use FB social plugins on a company intranet site. It is almost fine, controls are displayed, I can comment, like or recommend stuff. Comments, likes and recommendations are persistent on the intranet site.

However neither my recommendations, nor my comments are shown on any facebook page. They're not on my timeline and do not show up on the FB page either.

The problem is probably what is stated under the FB comment box as a warning:

"Warning: http://greenhouse.intranet.mycompany/ is unreachable."

How can I get it working just like with every news portal so that these actions would show up on the timelines of users and the FB main page?

PS/update: I know the difference between the internet and a company intranet, I also know that a company intranet is not accessible from outside. You don't have to explain that.

PS.2: Come on, guys. It's just logic. If facebook does not refuse to waste storage space on the likes and comments for the intranet page, then why don't they publish it? With a comment, maybe, saying that this link might not be available for everyone.

هل كانت مفيدة؟

المحلول

These sites you are referring to are accessible from the internet. Your intranet (as the name and the error-message suggest) is not.

Facebook can not link anything to the timeline that will not be accessible to other users.

EDIT (add workaround from comments):

You can try this workaround:

Put up a public campaign site that serves every request (no matter what url-params) to a basic main-page with general information and maybe some links. The main-page contains a little javascript that checks if your intranet-page is available from client-side.

  • yes: Forward the browser to the intranet-page based on your url-params.
  • no: The user sees some basic information about your campaign on the public page.

This way you provide at least some useful information (instead of 404s) to facebook's servers and the linking should work.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top