开发者

Twitter @anywhere using chrome Unsafe JavaScript attempt to access frame

im trying to iplement twitter @anywhere , to detect current twitter user info ,

twttr.anywhere(function(T){
    if (T.isConnected()) {
         currentUser = T.currentUser;
         screenName = currentUser.data('screen_name');
         alert(screenName);
         return true;
     }
     else {
     return false;
     };
});

when load开发者_运维百科ing page i get in console : "Unsafe JavaScript attempt to access frame with URL https://api.twitter.com/xd_receiver.html from frame with URL about:blank. Domains, protocols and ports must match."

i've checked the Registered Callback URL and it's ok , everything should work ok ,

any idea what's wrong ?

tnx


I know it's been a long time, but I'm having this problem now.

In this blog, Shannon Whitley said what appears to be the problem.

If you are on “www…” in your browser then try removing it (or vice-versa).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜