Closed GoogleCodeExporter closed 9 years ago
What does your HTML look like? Generally callbacks not being called has
something to do with the way you're embedding the SWF.
Original comment by rovertn...@gmail.com
on 10 May 2011 at 10:53
Have yo included FBJSBridge.js and http://connect.facebook.net/en_US/all.js
into your HTML (index.template.html) ?
I had a similar problem and it has been resolved including these lines into it:
<script type="text/javascript"
src="http://connect.facebook.net/en_US/all.js"></script><script
type="text/javascript" src="FBJSBridge.js"></script>
Cheers
Original comment by rluqu...@gmail.com
on 10 May 2011 at 11:44
I didn't have FBJSBridge but adding that in didn't seem to help. I'm using
SWFObject2-2 to embed the swf.
On Tue, May 10, 2011 at 7:45 PM,
<facebook-actionscript-api@googlecode.com>wrote:
Original comment by ryancanulla@gmail.com
on 11 May 2011 at 1:21
You don't need to include the FBJSBridge.js in your HTML as the 1.6 API doesn't
use it. ryancanulla, is your swf object set up something like this?:
swfobject.embedSWF("YOUR_SWF.swf", "flashContent", "650", "700", "9.0", null,
null, null, {name:"flashContent"});
Original comment by rovertn...@gmail.com
on 11 May 2011 at 3:39
I'm having the same issue, it was working alright then a few minutes ago the
call back function never get's call, what could it be?
Original comment by joetico...@gmail.com
on 11 May 2011 at 3:54
Correct.
<script type="text/javascript">
swfobject.embedSWF("Preloader.swf", "flashContent", "760",
"875", "9.0", null, null, null, {name:"flashContent"});
</script>
<div id="fb-root"></div>
<div style="width:760px; height:875px; position:relative;">
<div id="flashContent" style="position:absolute; top:0px;
z-index:1;">
<p>Alternative content</p>
</div>
<!--<div style="position:absolute; top:13px; left:33px;
z-index:2;">
<script src="
http://connect.facebook.net/en_US/all.js#xfbml=1">
</script><fb:like href="
http://apps.facebook.com/likemom-likedaughter" show_faces="false"
width="450"></fb:like>
</div>-->
</div>
On Wed, May 11, 2011 at 11:54 AM,
<facebook-actionscript-api@googlecode.com>wrote:
Original comment by ryancanulla@gmail.com
on 11 May 2011 at 4:50
Which browser are you using? Pc/Mac?
Original comment by rovertn...@gmail.com
on 17 May 2011 at 5:43
I've been able to reproduce this at different times using different
browsers. That said I have always been on a mac on OSX. It would be great to
have an error object returned in these cases.
I will log this next time it is happening. Please let me know of any other
information that would be helpful to capture.
On Tue, May 17, 2011 at 1:43 PM,
<facebook-actionscript-api@googlecode.com>wrote:
Original comment by ryancanulla@gmail.com
on 17 May 2011 at 7:23
Did you include facebook js script before the embed call?
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<!-- Include support librarys first -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
</head>
<body>
<div id="fb-root"></div><!-- required div -->
<div id="flashContent">
<h1>You need at least Flash Player 9.0 to view this page.</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<script type="text/javascript">
//This example uses dynamic publishing with swfObject. Login is handled in the swf
//Note we are passing in attribute object with a 'name' property that is same value as the 'id'. This is REQUIRED for Chrome/Mozilla browsers
swfobject.embedSWF("YOUR_SWF.swf", "flashContent", "650", "700", "9.0", null, null, null, {name:"flashContent"});
</script>
</body>
</html>
If so, and you still have this problem, are you able to get callbacks using
just the Facebook Javascript SDK?
Original comment by edwar...@gmail.com
on 18 May 2011 at 7:35
I haven't tried just using the the javascript sdk. i will try that now.
thanks!
On Wed, May 18, 2011 at 3:36 PM,
<facebook-actionscript-api@googlecode.com>wrote:
Original comment by ryancanulla@gmail.com
on 18 May 2011 at 8:12
Hello, I'm having the same issue, callback of init is never called except after
a manual login. Then init callback is called, but login callback too !!! There
has been change since May?
Original comment by kevin.bo...@gmail.com
on 15 Sep 2011 at 3:34
We have the same problem since today.
Callback of init is never called.
Callback after login is called however. Someting changed at FB today?
Using 1.6
Original comment by rhinocre...@gmail.com
on 15 Sep 2011 at 4:07
I have a slight variation of the problem. My init callback was called but login
doesn't invoke its callback.
Original comment by azzu...@gmail.com
on 16 Sep 2011 at 9:45
We have had the same problem since yesterday in code that worked previously.
Callbacks on Facebook.init and Facebook.ui are never called although the
functions are otherwise working fine. No changes to the flash or html have been
made since it worked.
This is breaking our app as we need to know when the user has completed a
purchase through Facebook.ui.
Original comment by jenni.wa...@gmail.com
on 18 Sep 2011 at 12:02
Just tested with the Facebook API (using v1.7) and my init and login callbacks
are working as expected.
azzu...@gmail.com, can you reconfirm you issue is happening (with the latest
sdk - 1.7) and make a new issue providing some code.
d...@oak-systems.co.uk, is your issue still occurring? Can you confirm that
you're embedding everything as suggested in Comment 9? If you're still having
issues, I would encourage you to start a new issue as well.
Thank-you.
Original comment by rovertn...@gmail.com
on 19 Sep 2011 at 11:01
The problem was at my end and is now resolved. The URL used in the embedSWF
call had an absolute domain name, which was not the same as the canvas page
(one included the www, the other did not). Everything loads fine in this
scenario, but the callbacks failed. Once I changed the domain name in the
embedSWF call it works fine.
Sorry for wasting your time!
Original comment by jenni.wa...@gmail.com
on 20 Sep 2011 at 1:05
If anyone still face the similar problem of init()'s callback function doesn't
get called, please try to see this issue
http://code.google.com/p/facebook-actionscript-api/issues/detail?id=360.
Original comment by hax...@gmail.com
on 1 Oct 2011 at 9:54
Original comment by edwar...@gmail.com
on 13 Oct 2011 at 8:12
Original issue reported on code.google.com by
ryancanulla@gmail.com
on 4 May 2011 at 10:17