I'm trying to test my Facebook integration for a FB Canvas game that I'm working on. When I launch the player I see the following message in the console:

loading dll: /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll Failed downloading /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll

and if I look in the apache logs I see a request for /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll

I have the same problem using the 4.3.x version of the Facebook SDK.

I'm using Unity editor 4.3 and testing in Chrome on OSX.

Am I missing a DLL or a reference in MonoDevelop?

有帮助吗?

解决方案

It sounds like you hit build and run for the Unity webplayer. This launches your game in a web browser hosted off your local filesystem. For security purposes, the SDK must be running on Facebook canvas when run in a web browser. You'll need to set up a Facebook app, instructions are here: https://developers.facebook.com/docs/unity Alternatively, you can test in the Unity editor by hitting the play button.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top