Open GoogleCodeExporter opened 9 years ago
I've also been fighting with this issue, in my case firefox 4.0 works but
firefox 3 is very 50/50 if it will return anything on the Facebook.init call or
not, and that's after spending a crazy amount of time tweaking the
html/javascript and trying a crazy amount of things. All other browsers seem
fine.
Also the second I even think about adding a social plugin to the page it
doesn't work at all (for firefox 3 that is).
Original comment by percy...@percypea.com
on 13 Apr 2011 at 9:42
[deleted comment]
So because firebug seemed to "solve" the problem, i went looking for an
alternative javascript debugger so i could take a look at what was going on. I
stumbled upon Jash: http://billyreisinger.com/jash/
Amazingly, starting this widget as a bookmarklet also seemed to solve the
issue. It has me wondering if this is some type of unrecoverable race condition
between FBJS and the Flash Library.
Original comment by symbionm...@gmail.com
on 13 Apr 2011 at 11:11
It sounds like a strange issue. The Facebook.init() method is meant to be
called once to initialize the library. You do not need to call (FB.init) in
javascript because the api already does that via FacebookJSBridge. The init
callback lets you know if you are logged in or not, but you're supposed to call
Facebook.login() to actually connect/login.
Original comment by edwar...@gmail.com
on 18 Apr 2011 at 9:55
Is this still an issue with the latest api?
Original comment by edwar...@gmail.com
on 25 Oct 2011 at 8:19
I'll try and repro
Original comment by symbionm...@gmail.com
on 25 Oct 2011 at 10:51
not working in 1.8.1
Original comment by n...@bissano.com
on 3 Nov 2011 at 9:50
I have the same problem, in Firefox (latest) and Safari.
But I am calling Facebook.init from a swf that was loaded by another swf, could
this be the problem for me?
Original comment by marc.wei...@googlemail.com
on 7 Nov 2011 at 4:23
1.8.1 not working on production server but works fine on localhost.
Facebook.init never call on all browsers.
Original comment by stesti...@gmail.com
on 9 Nov 2011 at 5:13
Maybe I am the only one who did not know this, but one can call login on a
button click even though the init method did not call the callback.
I am using it like this now, logging in and sharing works fine.
Original comment by marc.wei...@googlemail.com
on 9 Nov 2011 at 5:23
Thank the lord that other people are reporting this issue. I've just built an
AS3 app for a Facebook Page tab and suddenly discovered exact same issue on my
version of Firefox. I then went back and checked the last three apps I built,
where it was never a problem before - all of a sudden they're not working
either.
It seems that neither Facebook.init() nor Facebook.login() calls do anything. I
had been using SDK v1.5 to build the app, but decided to test it with the
latest 1.8.1 build - still no dice.
I'm getting the exact same behaviour as Comment #9 - it works fine on
localhost, but as soon as I move it to a production server, it stops working.
Here's what I've discovered thus far:
- It won't work in Firefox 6, 7 or 8 on my desktop (running WinXP SP3)
- It works pefectly fine in IE7, IE8 and Chrome
- It also works perfectly fine on my laptop, which is Win7 Home with Firefox 6.0.2
This leads me to believe it *may* be an issue with any of the add-ons I have
for Firefox. I'm currently running Firebug, Flashbug, AdBlock Plus and FireFTP.
** UPDATE **
I just disabled AdBlock Plus and BOOM. Facebook.init() worked immediately. I
tested it with all my other add-ons enabled and AdBlock Plus disabled -
Facebook.init() and Facebook.login() callbacks working as expected.
I'm going to have a play around with AdBlock Plus now to see if I can tweak any
of the blocked items, but hopefully this will solve the issue for some of you.
Original comment by lawriema...@gmail.com
on 11 Nov 2011 at 10:12
Any Luck?
Original comment by sunny.ag...@gmail.com
on 23 Feb 2012 at 3:12
oh,my god! I find the reson. it is follow:
/*Get a reference to the embedded SWF (object/embed tag). Note that
Chrome/Mozilla Browsers get the 'name' attribute whereas IE uses the 'id'
attribute. This is important to note, since it relies on how you embed the SWF.
In the examples, we embed using swfObject and we have to set the attribute
'name' the same as the id.*/
so. try to find the html or js your swf embed. is the "id" or "name" is not define!
Original comment by dddddddd...@gmail.com
on 4 Mar 2013 at 9:55
Original issue reported on code.google.com by
symbionm...@gmail.com
on 13 Apr 2011 at 8:07