- Home /
I am having problems adding Social Media to my javascript-written Game. Can anyone help?
Hey guys, I have an idea to get my game out-and-about. By adding a share button to facebook of course. I followed all the Steps on the Facebook Developers page, downloaded their SDK, register my app on their website, input my app ID and other data. I understand that the SDK is completely written in C#. I read somewhere that the way to miz Javascript and C# is to Put C# scripts in the Plugins folder, so it loads first, before javascript, then refer to it as a resource in Javascript, and trigger functions in the script using the reference.
Problem is, I have everything in place. And I have a C# script in my Plugins Folder. This is the script:
But I keep getting errors like this:
Can someone help me as to what I am doing wrong? I have not written the Javascript trigger yet, but How do I fix these errors? I was watching this guy do it:
https://www.youtube.com/watch?v=nmeMHY5D4SI
And he doesn't have errors... Did something change? It it out-dated? I have never done this before, and am having trouble finding answers to this online. Help would be appreciated!
Your answer
Follow this Question
Related Questions
Turning off SSO on Facebook's Unity SDK for Android 0 Answers
unity facebook sdk error build in Xcode for iOS 0 Answers
Unity & Facebook MissingMethodException: Method not found: 'UnityEngine.Screen.get_showCursor'. 0 Answers
Facebook SDK 7.1.0 integration crash? 2 Answers
Android + Facebook SDK 0 Answers