Closed (fixed)
Project:
Service links
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2012 at 19:16 UTC
Updated:
29 Mar 2013 at 11:10 UTC
I am seeing an error being reported with different broswers using this plugin.
In the Chrome Console, I get these error messages:
The "fb-root" div has not been created, auto-creating FB.Share:56
FB.getLoginStatus() called before calling FB.init(). FB.Share:54
In Firefox console, I see this error:
FB.getLoginStatus() called before calling FB.init().
In IE 8, I see this error:
SCRIPT438: Object doesn't support property or method 'forEach'
FB.Edgar._stubs.forEach(function(b){a(b,FB.Edgar._stubFunction);})
The file that all these errors point to are in:
http://static.ak.fbcdn.net/connect.php/js/FB.Share
While I realize this is an external script and you don't have control over it, I am wondering if there might be a solution as to the way in which it's handled by Drupal and this module.
Comments
Comment #1
kongal commentedI'm having the same problem too and I receive the same errors. Share on Facebook button does not load on IE 8.
Have you managed to find a solution to this?
Comment #2
danny englanderHi Kongal, I still do not have any solutions or a workaround.
Comment #3
simon georges commentedIs it still the case with the latest -dev version of the module?
Comment #4
TheCrow commentedfollowing the facebook like button creator it doesn't require a fb-root div with an iframe tag... will try to inject it and see what happens.
Comment #5
TheCrow commentedThis should be fixed in the dev version for Facebook Like, i fixed it also for the XFBML version of Facebook Share which will be committed soon with this: #1688494: "Service Links Field Share on Facebook" No longer displays Picture or links to article..
Comment #6.0
(not verified) commentedmore info