Soundcloud应用程序通过Facebook连接连接无法运行脚本进行回拨 [英] Soundcloud application connect via Facebook connect can't run the script for call back

查看:222
本文介绍了Soundcloud应用程序通过Facebook连接连接无法运行脚本进行回拨的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好像是Soundcloud的问题。如果您在Soundcloud上有一个应用程序,并且您的成员尝试连接到此应用程序,他们将看到两个选项:


  1. 使用您的Soundcloud帐户登录

  2. 使用您的Facebook帐户登录。

问题在于Facebook连接。 / p>

通常如果您点击Facebook连接按钮,它必须打开一个弹出窗口,然后您接受并登录。但是Soundcloud Facebook连接按钮不会打开任何弹出窗口,这就是为什么它无法运行正在尝试到达window.opener范围的JavaScript代码。



这里是Firebug错误:

  window.opener为null 
popup_callback.html?returnTo = http%3A%2F%2Fdev.giggem .com%2Fprofile%3Fcode%3D4a360828894b6fc6d4029fa3e9fbf108()popup _... 9fbf108(第9行)
[Break On this Error]

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

我找不到任何页面来报告在Soundcloud的网站上,这就是为什么我在这里写的。



如何通过Soundcloud / Facebook建立连接?



注意:在Ubuntu Linux下使用Firefox 13.0.1。

解决方案

是的,我有同样的问题,几个月,这是一个屏幕截图,以帮助确定问题是什么:



http://d.pr/i/NFf



查看代码,似乎这是违规脚本:

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


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.

解决方案

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)

这篇关于Soundcloud应用程序通过Facebook连接连接无法运行脚本进行回拨的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆