Drupal Association members fund grants that make connections all over the world.
Hi,great work with the module.
I've noticed that when one is logged out of facebook he is unable to view the like box on his drupal site,
could you give me away around this?
Thanks a lot for your feedback!. I am not sure if this is due to the module or to the configuration of the Facebook Page itself. Could you please test it in the plugin site: http://developers.facebook.com/docs/reference/plugins/like-box/ (using the URL of your page)?.
The module basically integrates the Facebook plugin and allows to set some appearance settings, but "the logic" is part of the Facebook server side.
Thanks David, for the swift response let me check it out.
Do you have any feedback about this?.
I'll close this as "works as designed". Please feel free to re-open it if you find any issue related to this.
I am reopening this issue as a bug report because I am experiencing the same issue as the original poster. If a visitor to the site is NOT logged into facebook, the FB likebox does not appear at ALL. Even worse, if the likebox content is in the middle of two blocks and you have set the height in the module, you end up with blank space where the module should be. This happens for me on Chrome, Safari, and Firefox on the Mac.
I have checked the FB page for the Likebox app at https://developers.facebook.com/docs/reference/plugins/like-box/ and there are no controls as to whether this content should or shouldn't be visible on the site to people not currently logged into FB.
So this seems like a bug to me.
Thanks a lot for reporting this!
Could you please let me know the settings you are using to try to reproduce the problem (url, width, height, stream, show_faces, etc.)? This issue was originally open for 7.x-1.7, are you using this version? Could you check if this is hapenning with the latest version (7.x-1.8) as well?
I am actually using 1.8. This is occurring with the header and faces set to yes. (I originally had this same problem with everything including the FB feed set to Yes.)
The size does not seem to matter (changed it many times). But currently it is 188 wide by 280. (I've had it at 400 by 400.)
You can see it in action at http://ninjabaking.com/ if you log into and out of Facebook, the block is there and then it is not.
I have been checking the site, and in fact the likebox is not displayed in any case for me (logged/unlogged).
I have tried the URL of your Facebook Page (https://www.facebook.com/TheNinjaBaker) at the Facebook Developers site (https://developers.facebook.com/docs/reference/plugins/like-box/) and it is not displayed neither:
The module seems to work properly with any other URL (i.e.: https://www.facebook.com/FacebookDevelopers or https://www.facebook.com/wikisaber.es).
Could you please check if this might be related to the issue you opened some weeks ago #2043259: No "recent posts from the Page"?
That issue (and that other site) had some very old content and once they updated it, the content showed. On this site I _am_ using all the cache settings. I wonder, is it possible that someone visits the site NOT logged into FB. That block gets cached. Then when someone else visits, they are served the cached, blank box. I just turned off "cache blocks" in the Performance settings to see if that works.
But my understanding is correct, right? Any anonymous user should see the likebox regardless of whether they are logged into FB or not. And there are no Permissions for the likebox.
For me in Google Chrome and not logged in, the box shows when I am logged into FB. If I log out and refresh the page, the block is missing.
Thanks for looking into this.
I should have said:
"If I log out of Facebook and refresh the page, the block is missing."
in the post above.
>>> But my understanding is correct, right? Any anonymous user should see the likebox regardless of whether they are logged into FB or not. And there are no Permissions for the likebox.
Yes, that is correct.
However, I have not been able to reproduce the error with any other url, I suspect this might be due to the configuration of that page.
Closing after 3 weeks. Look like an issue due to the configuration of the page.
This is just a note for people... I had an issue that looked similar to this, but it turned out that it's because of ad blocking on my main browser. If you're experiencing this problem, check the page out in a browser without any plugins and you might find that it works.
Thanks for the feedback, @BartK!
Another possible cause:
I've found that if a page has age restrictions set - eg 13+, 18 19 &c - then
this results in a blank block. Removing the restriction on the page on
Facebook "fixes" this.
My interpretation is that the problem is that Facebook requires the user to be logged into to test whether they're old enough/in the right location/have permitted alchohol related content etc etc etc depending on the Facebook page options.
Thanks for the feedback, @netivajack !
You are correct. Any restrictions added to the fan page (location, age, etc.) will require that visitors are logged into FB in order to check that the visitor meets the requirements.
Remove all FB restrictions!
Drupal is a registered trademark of Dries Buytaert.