0

Trying to let the Facebook SDK working with the WebPlayer. I have a problem with the init function: it's not calling the success callback and no exceptions are happening.

I want to explain what I'm trying to do. I have a standalone WebPlayer app loaded on my server (it's not a Facebook canvas). I would like to be able to login with Facebook to authenticate the user and show him/her customized stats (the name, the picture, etc...). No interactions required I would just use Facebook for the authentication.

Anyone any idea why this is not working?

Cheers

4

1 回答 1

1

我也遇到了这个问题,据我所知,除非你在他们的画布上,否则你不能使用 Unity SDK,并在设置菜单中提供了 Unity 集成切换。您必须使用 JavaScript SDK。至少这是我得出的结论。

尝试加载 CanvasFacebook.dll 时,sdk 会将文件路径从“ https://integrated-plugin-canvas-rsrc.fbsbx.com/rsrc/unity/lib/sdk_6.0/ {0}.dll”更改为“WHERE_EVER_YOU'RE_SERVING_YOUR_CANVAS/rsrc/unity/lib/sdk_6.0/{0}.dll”。这将导致dll无法加载。只需手动将其发送到原始地址即可轻松解决。但是,一旦您使用此修复程序从 dll 调用 init,则不会发生任何事情。

我假设在 dll 内部的某个地方,它正在对托管画布的位置进行类似的调整,并且不报告错误,或者它期待某种不存在的侦听器。

于 2014-10-03T18:36:15.880 回答