GRiMe2D / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

apprequests returns no callback #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. i call "Facebook.ui('apprequests',fbReq,inviteResult,'popup');"
2. a pop up window opens with send request and cancel buttons
3. when pressing "send request" chrome alerts:

Unsafe JavaScript attempt to access frame with URL 
https://www.facebook.com/dialog/apprequests from frame with URL 
[my https domain]. Domains, protocols and ports must match. all.js:68
Uncaught Error: Error in Actionscript. Use a try/catch block to find error.
Uncaught Error: Error calling method on NPObject.

4. callback is not being fired

What is the expected output? What do you see instead?
I expect the callback to be fired and a notification to appear on the friend's 
wall

What version of the product are you using? On what operating system?
flash player 10.2
chrome
windows 7

Please provide any additional information below.

Original issue reported on code.google.com by yonny.zo...@zigigames.com on 5 Jun 2012 at 12:59

GoogleCodeExporter commented 9 years ago
actually i don't think "Domains, protocols and ports must match. all.js:68" is 
related - this is just a warning chrome gives off.

however. i don't get a callback. the notification does get sent- but no 
callback when cancel or confirm is clicked. this is a critical bug for my app- 
please help!

Original comment by yonny.zo...@zigigames.com on 7 Jun 2012 at 10:35

GoogleCodeExporter commented 9 years ago
here is the info on both erros in the chrome console - appears when clicking 
confirm ro cancel on the facebook pop-up:

Uncaught Error: Error in Actionscript. Use a try/catch block to find error.
cb
FB.provide._xdResult all.js:72
FB.provide._xdRecv all.js:72
FB.provide._xdNextHandler all.js:72
(anonymous function) all.js:60
j all.js:33
ca all.js:60
q.register.init.r all.js:59

Uncaught Error: Error calling method on NPObject.
cb
FB.provide._xdResult all.js:72
FB.provide._xdRecv all.js:72
FB.provide._xdNextHandler all.js:72
(anonymous function) all.js:60
j all.js:33
ca all.js:60
q.register.init.r

Original comment by yonny.zo...@zigigames.com on 7 Jun 2012 at 10:53