Zankhna
Zankhna

Reputation: 4563

How can i get facebook sdk work with Unity3d web game?

I have integrated facebook sdk to my unity game for android and ios. On both platform it works .

But now i turned my game to run in web player. but unfortunately i am not unable to login in facebook. I read documentation written in facebook.

https://developers.facebook.com/docs/unity/reference/3/CUI

For that i need canvas binary url. but i dont understand which url should i write? i want steps to make my web game to work with facebook sdk.

If i am going wrong then also let me know guys.. :)).

Thanks in advance..

Upvotes: 2

Views: 204

Answers (1)

Jitesh
Jitesh

Reputation: 76

For webplayer, you will be placing the yourgame.unity3d, yourgame.html file and other game related files on some kind of a webserver. The Unity Binary Url is that address where you will be placing your .unity3d file. For testing purpose, you can have a local webserver like Apache and host the file there and then put something like http://localhost/yourgamefolder/yourgame.unity3d and later you can replace that with the place where your game will be hosted.

Hope that helps,

Jitesh

Upvotes: 1

Related Questions