How to start Gameroom login integratoin for Unity games? - facebook

"Gameroom(windows)"
I'm trying to integrate our game with Facebook Gameroom. The first step is Login integration.
Seems, the official SDK does not support "Gameroom(windows)" Login.
Where can I find the unity SDK that supported "Gameroom(windows)" Login?
Has anyone integrated with Gameroom before?
Thanks.

I had the same question up until yesterday. I would direct you to this link: https://developers.facebook.com/docs/games/gameroom
You want to use at least Unity 5.6.2 and use the Facebook Gameroom (Windows Native) build included in Unity. Use the 7.10 SDK (choose it from the dropdown it'll say 'Facebook SDK 7.10.1') on the Build Settings screen.
The link that I gave is needed as once you have the build set up there's a lot of things that you need to do to make it work, and the link will help you through that. (On the page in the documentation, there's a link that will take you to the build and testing page - it's the second set of instructions).
I'm currently in the process of porting over a Mobile game to FB Gameroom, so I am going through it myself. Oh! and you'll want to have the 7.10.0 Facebook SDK (available from Facebook) as a .unitypackage file.
The reason for the unity package version is that you will seriously want the examples directory and scripts so that you can implement facebook's api. Do NOT install the entire package as that will blow everything up, just need the scripts and the scenes.
That should get you started. Also, a tech-tip... if you are using UNITY IAP, it will log into facebook on its own (to set up the codeless IAP stuff). I found that out AFTER I modified the examples to handle the login and initialization of the Facebook API.
Good Luck!!!

Related

How to read Facebook App links from Branch SDK

I want to use deep link in my FaceBook ads install campaign.
According to Branch docs: https://docs.branch.io/deep-linked-ads/facebook-app-install-ads/#optional-deep-link-your-app-install-campaign
Unfortunately, we've found that the direct S2S mechanism for retrieving deep links is rather unreliable. We recommend that you have the Facebook Android / iOS SDKs installed so Branch can work directly with them on the client side for the best outcome.
I need to integrate Facebook SDK and then call:
Branch.getAutoInstance(this).enableFacebookAppLinkCheck();
But this method is not exist in Unity Plugin (https://docs.branch.io/apps/unity/)
Any ideas how to overcome that problem?
We don't have a wrapper for this method call. Please call the code from the Native Android files.

What's best solution to use facebook SDK NOW in Xamarin.forms - PCL project?

I'm making app with using Xamarin.forms. (PCL project)
I want to use facebook SDK to use
- get my profile. (name, e-mail)
- get my friends list. (their account id)
- posting on my wall.
I searched it and there are many options for that.
And Some solution seems like out of date. (not updated)
using Xamarin.Auth. (Component)
https://www.youtube.com/watch?v=cyq_ho4QflQ
looks like it's not using facebook app to log in that user installed on their phone.
The Outercurve Foundation's Facebook SDK (Component) https://components.xamarin.com/view/facebook-sdk
many people recommended to use it. but
In rating page, people says that it's out of date and useless now. (because it's not updated and facebook rule's changed)
Facebook SDK by Xamarin from nuGet Package.
Xamarin developer says that there is no FB SDK for PCL project so far.
I'm curious that what is the good way to use facebook SDK?
It must have been being used by many developers who make app with using Xamarin.forms.
Are you guys uses Dependency Service with native SDK?
No 3 is your best option. Correct, there is no Xamarin-Facebook binding library for PCL. However, it's fairly easy to make it happen with dependency injection. Either with the DependencyService or other container.

how to upload video using Facebook sdk 7.3 in unity?

I've tried building apps with Xcode and it has been a struggle, i then discovered unity and an entire world opened up to me. and then i released 3 games this year on the iOS apple store made in unity.
now I'm trying to build a game and this games main feature is to upload and view videos. let me call it what it is making an app with unity. why? because i know how to use unity, this is my tool.
so i headed to Facebook and download the latest SDK for unity and boy did it take me time to figure how it works. after weeks of struggle i found out that the Facebook SDK can not upload video, well at least not yet (i hope i can ask them if they could make it that the Facebook unity SDK can do everything that all the other sdk's can do, like their iOS sdk and android sdk).
the way i found out was when i submitted a bug report and asked a Facebook team member and they told me that it is not supported. i then went to check the references of the Facebook iOS sdk and compared it to the reference of the Facebook unity SDK and to my wonder the calls are not there.
so my question is how can i use Facebook sdk in unity the way that i want it to?
is there a method of using the Facebook iOS SDK in unity and not the Facebook unity SDK?
At the end of the day i would really like to push the app out on android as well hence why i added the android tag. so I'm sure if i can achieve it with either platform i can just do it for the other one as well.
please if anyone can share assistance it would be appreciated, I'm extremely serious to get this project completed i can't wait to share my idea with the world.
seems like I've confused myself. apparently one can do exactly what i want to do. The Facebook team member responded to my question I've included his exact reply for your convenience.

Facebook login on Meteor mobile App (cordova)?

I'm looking to build a mobile application using Meteor+Cordova. Looking to get the Facebook login to work first. Apparently the default accounts-facebook package doesn't work so I looked around atmosphere and only found "particle4dev:cordova-fb", so I tried using that.
I'm a bit confused about the app developer stuff. Normally I just use it for my website so its quite straight forward. In terms of setting up the login details (such as ID and token), do I register as if it's an IOS app? Or do I still register as if its web?? It asks me to download XCode SDK for FB, is that what I'm supposed to be doing? is the package mentioned above what I should be using, or are there more mainstream options available?
I was also facing problem with accounts-facebook package. It was using in-app cordova browser and failing at the time of oauth handshake.
I added cordova:com.phonegap.plugins.facebookconnect#0.11.0 to app and enabled it for single sign on from developer account on facebook.
If you face any problem then please look at my blog here. I have written a simple tutorial.
If there are still some people to fix this thing, this may help them.
I've just used the latest version on github.
removing the plugin and adding it again like this:
meteor add cordova:com.phonegap.plugins.facebookconnect#https://github.com/Wizcorp/phonegap-facebook-plugin/tarball/d8b0f6935a7c6e586188bf85f9da88a1c160790b
This above code with particle4dev:cordova-fb worked like a charm on android and it should work on ios devices also. It seems they fixed the issue in their updates.
accounts-facebook package works fine. I just created a new project and tried, you can refer to this screencast http://recordit.co/7JNpDSzJ9m
if you are using accounts-facebook, you need to register the app as web on fb
So I've been trying to use particle4dev:cordova-fb for awhile now. For those who are confused about how to implement it. First you add it as a package to your existing app. Then you add the facebookconnect cordova plugin. Then you add the android platform. Then try and run the android platform (meteor run android --settings settings.json). This should fail. Now go through the steps on implementing facebookconnect on Android. This should make sure it works on android now. However even after doing all of this and getting it to work, it still simply opens up the in app browser on android for some reason.

Unity3d Facebook SDK: properties on iOS don't get published

we are working on share functionality for our unity game using the Facebook Unity SDK.
We are using FB.Feed for our post and share additional links at the end of the post using the 'properties' parameter and sending a Dictionary.
This works nicely on Android and for the webplayer but nothing is shown when using the iOS version which has the exact same codebase.
This seems to be a bug since the same happens using the interactive console example.
Can anyone confirm?
Is there an official forum for the FB Unity SDK? The beta goup on facebook seems to be dead.....
Help very appreciated.
Simon
We are deprecating the properties functionality. Just so you know, for your specific use case the properties are unnecessary. We will automatically send users to the Google Play store when they click your game's link on Android and the iTunes store when they click it on iOS.