5 votes

Unity3D: Facebook login into the game + Verification on Server Side

Token and App side So to do this you will need to get the the relevant Access Token from facebook: User Access Token if you want to post things on their behalf and access information about them. App ...
user avatar
  • 3,516
5 votes
Accepted

Why I need a backend for a mobile social game?

There are several reasons why to use a backend. Without backend, you can't really have states in your game. That means players start all over when they refresh the web page. The facebook API stuff ...
user avatar
  • 2,102
4 votes

How to share Unity High Scores on social media (Facebook , Google+ and Twitter)?

If you are not looking to use the SDKs you can just open a URL and the user would just have to confirm the posting. Just set a button to call the ShareToTW ...
user avatar
3 votes

Unity Facebook WebGL build... Does this work or not?!?! Getting conflicting answers

In case anyone comes across this and was confused like I am- Facebook no longer separates Web Hosting from Instant Games; to upload a build, upload it under Instant Games/Web Hosting, then disable "...
user avatar
3 votes
Accepted

FB.Init() is not accepting in my c# Script

You have not included the correct namespace for FB. Write using Facebook.Unity; at top of your class. Here is the sample ...
user avatar
  • 3,337
3 votes

What's the "appLinkUrl" parameter in the "AppInvite" method for?

It is NOT play store link or your web page link. It is a link to specially setup page that must response with applink format, see an example in App invite documentation. Looks like this: ...
user avatar
  • 523
3 votes
Accepted

What's the "appLinkUrl" parameter in the "AppInvite" method for?

In simple words, it is modified url to redirect user to your app via facebook app invite. For example if you have created Android Facebook app you want to use facebook app invite through your game, ...
user avatar
  • 3,337
2 votes

How can I full-screen a Facebook canvas game?

Sure! The web has a "request fullscreen" API that you can use (be sure to read up on in the reference section below). Facebook seems to indicate this is allowed to be use, just take a look at this ...
user avatar
2 votes
Accepted

Why was my Facebook game rejected with the note that "your app icon must not overlap with content in your cover image?"

Your app icon must not overlap with content in your cover image.
user avatar
2 votes
Accepted

What is the difference between a Facebook Canvas and Facebook Web project?

Facebook Canvas app are apps that live inside the facebook eco-system. This is done by Facebook creating an iFrame to the canvas URL you supply. The authentication system is a POST variable sent one ...
user avatar
2 votes

"Your android setup is not correct" error on Unity showing up even after reinstalling OpenSSL (Using Facebook SDK)

There is actually a major bug with the latest version of Facebook SDK and the OpenSSL. Every time you click on Facebook/Settings Unity hang and becomes unresponsive. I had to download openssl-0.9....
user avatar
2 votes
Accepted

How to add Facebook Data Storage to Mobile Game?

Facebook does not provide storage for saved games. Facebook's OAuth API can be used to login with Facebook and obtain a Facebook-specific user ID (and other data like name, email, friends, etc.) but ...
user avatar
2 votes

What revenue cuts will I take by using Unity combined with Facebook's platform?

Taken from Facebook's Payment Terms: Whenever you complete a sale on our platform, Facebook will credit the proceeds from that sale, less our service fee, to your Developer Balance. Facebook will ...
user avatar
  • 8,565
1 vote

How can we compare the scores of 2 Facebook friends?

You will have to create your own scoring system, or wait if Facebook comes up with a new one. There is no workaround for this.
user avatar
  • 141
1 vote

The name `FB' does not exist in the current context

Assuming you are following this: https://developers.facebook.com/docs/unity/examples Unity 2017.1.0f3 without the Facebook SDK installed leads to this error: Error CS0246: The type or namespace ...
user avatar
1 vote
Accepted

A way around the deprecation of AppInvite in Unity

If you are using firebase : https://firebase.google.com/docs/invites/unity Some people gave the figure 18% of the app invite through facebook (other through wathsapp, etc...)
user avatar
  • 26
1 vote

Unity 5.6 - Compilation Error with UWP using Facebook SDK for Windows

Hey this post I assume is quite old but this bug had me for a while so I figured I would pay it forward. You are getting an exception because Unity is using Mono.Cecil to try to weave all your ...
user avatar
1 vote

Why do I get this error with FB.LogInWithPublishPermissions?

According to this link, function LogInWithPublishPermissions has 2 arguments: IEnumerable permissions , FacebookDelegate callback. That's why your code dont compile. If you took this code from ...
user avatar
  • 133
1 vote
Accepted

Does the Facebook app need to be installed to use Facebook for Game Developers?

The game can use the Facebook APIs without facebook installed on the player's device. I haven't used Google Play, but Facebook is unable to query the information of any friend that's not also using ...
user avatar
  • 602
1 vote

How should I construct a Facebook Login Flow for a server-less Windows App in Unity?

I guess this is the closest thing to an answer for the question: https://stackoverflow.com/questions/1934187/oauth-secrets-in-mobile-apps TL;DR: OAuth is not designed well for the non-web experience,...
user avatar
1 vote

"Your android setup is not correct" error on Unity showing up even after reinstalling OpenSSL (Using Facebook SDK)

This question has been answered multiple time at least here. Here are steps. Download the OpenSSL installer Download the lastest x64 JavaSDK here. I have installed the latest Java 8 SDK. Make sure ...
user avatar
1 vote

Fb.Feed dialog closes before saving

replace the link to something like this link: "http://apps.facebook.com/" + FB.AppId + "/?challenge_brag" + (FB.IsLoggedIn ? FB.UserId : "guest")
user avatar
1 vote
Accepted

Can't post from Unity to Facebook feed properly

This is a known bug in their SDK for Unity: https://developers.facebook.com/bugs/598200610227965/ There is a workaround, you can change the DialogMode in the FbUnityInterface.mm From this ...
user avatar
  • 101
1 vote

Can I post to Facebook with my own text from Unity on behalf of the user?

...
user avatar
1 vote
Accepted

Stop Unity UI Buttons from being clicked when a Facebook Window is overlayed

When you display/activate the Facebook SDK popup disable the Unity UI under it until the facebook popup completes. You might need to reorganize the UI tree to easily deactivate everything but the FB ...
user avatar
1 vote

Streamline Facebook and Google Play Game Services integration in Android Game

I was earlier in the same confusion and finally found out there is no proper solution for this. My consideration for Google play was not for ranking but for using the leaderboards and multiplayer ...
user avatar
  • 870
1 vote

Why I need a backend for a mobile social game?

I recommend you look as some of the many BaaS available for mobile game developers. Some are free for non-commercial use or pre-launch development. Here's a few (there are many more): brainCloud ...
user avatar
1 vote

Why I need a backend for a mobile social game?

You should see the back-end as a centralized component for storage and processing. This structural component is used for various reasons. Storage: the state of your game will be stored on the back-...
user avatar
1 vote

Get Facebook Picture in Cocos2d-iphone V3

That error occurs on this line: CCTexture *texture = [CCTexture textureWithFile:image]; And this is the right way to do this: ...
user avatar
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible