Soundcloud application connect via Facebook connect can't run the script for call back

冷暖自知 提交于 2019-12-08 04:50:35

问题


It seems like Soundcloud's problem. If you have an application on Soundcloud and your members try to connect to this application they will see two options:

  1. Sign in with your Soundcloud account.
  2. Sign in with your Facebook account.

The problem is with Facebook connect.

Normally if you click on the Facebook connect button it has to open a popup, then you accept and login. But the Soundcloud Facebook connect button doesn't open any popup window and that's why it cannot run the javascript code which is trying to reach window.opener scope.

Here is Firebug error:

window.opener is null
popup_callback.html?returnTo=http%3A%2F%2Fdev.giggem.com%2Fprofile%3Fcode%3D4a360828894b6fc6d4029fa3e9fbf108()popup_...9fbf108 (line 9)
[Break On This Error]   

...ar params    = window.opener.$.helpers.urlencodedToObject(window.location.search...

I couldn't find any page to report this in Soundcloud's website that's why I wrote it here.

How do I establish a connection via Soundcloud/Facebook?

Note : Using Firefox 13.0.1 under Ubuntu Linux.


回答1:


Yes, I have the same problem and it's been like this for months. Here is a screenshot to help identify what the issue is:

http://d.pr/i/NFf

Looking into the code, it seems this is the offending script:

var params    = window.opener.$.helpers.urlencodedToObject(window.location.search)


来源:https://stackoverflow.com/questions/11360202/soundcloud-application-connect-via-facebook-connect-cant-run-the-script-for-cal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!