All Questions
28
questions
1
vote
0
answers
297
views
Sharing for Facebook in Unity Example
I was checking for some tutorials how to implement Share button for Unity games. I want to share my game with custom picture, text and link together with my description over the share automatically.
I ...
0
votes
2
answers
913
views
How to Logout from Facebook and switch a user?
I logged in to facebook with a user on my app.
Later when I log out manually this user on my Facebook app and on the browser,
(FB.IsLoggedIn) still returns true.
For some reason, the old profile is ...
1
vote
1
answer
80
views
Everything publishes on administrator account instead of the current user in Facebook Unity SDK
So I've been working with Facebook Unity SDK for a few days and it's a real struggle to get things done with it.
So the problem I'm facing right now is that everything: Shares,Scores API,Photo ...
0
votes
0
answers
824
views
Unity 5.6.3 Failed to re-package resources
I have searched far and wide for a solution. Unity is failing to re-package resources when building for android.
I have downgraded tools to 25.2.5. I upgraded to the latest Unity 5.6.3. I am using ...
1
vote
1
answer
345
views
How to Get URL of the posted image from unity FB.API() ?
I want to share screenshot taken from the app and upload it and share it with the app URL. I can upload the image using FB.API(string query, HTTPMethod method, FacebookDelegate callback, WWWForm ...
0
votes
0
answers
991
views
How to get Facebook Unity SDK(version 7.9.4) to work with newly released Unity 5.6.0f3 (64-bit)
Ok so i'm trying to get the latest version of the facebook unity sdk(v7.9.4) to work with the newly released Unity version 5.6(5.6.0f3).
I created a new 2d project and imported the downloaded ...
0
votes
1
answer
134
views
How to get name and profile picture given multiple ids
I'm trying to optimize my queries to Facebook.
I have a list of N facebook-app-ids (N<=30), I need the name and profile picture of all of them.
Currently I do N+1 queries, one for ALL the names, ...
0
votes
1
answer
112
views
How to parse a JSON with multiple id's given by FB.API call
EDIT: I "solved" it by not parsing anything and "reading" it by hand like so:
foreach (string key in result.ResultDictionary.Keys)
{
foreach (string key2 in ((IDictionary)result.ResultDictionary[...
0
votes
1
answer
72
views
Check if players have received apprequest
I want to show players that they have received an apprequest from their friends.
I can do this already with this code:
FB.API("/me/apprequests", HttpMethod.GET, ResponseCallBack);
and repeat that ...
1
vote
4
answers
2k
views
Facebook SDK for Unity Ambiguous Error
am using unity 5.4.0p2 and am tring to use facebook sdk for unity version 7.8.0
but am getting this error when I imported the package :
Assets/FacebookSDK/SDK/Scripts/Results/AppLinkResult.cs(51,...
1
vote
2
answers
2k
views
Cannot Get Facebook Profile Picture Using www in Unity Facebook SDK
I'm trying to get profile picture from graph.facebook.com using Facebook SDK for Unity 7.3.0. My Unity version is 5.3.
This is my function,
public static IEnumerator GetFBProfilePicture (){
WWW ...
0
votes
1
answer
310
views
FB.API invitable_friends return values
I am creating a custom UI panel for Facebook Invites on Unity for which I need all the names of the friends. This, I am trying to get to a Dictionary or any other data type. From the IResult object ...
0
votes
1
answer
726
views
Unity webGL for Facebook - Failed to find parameter 'grantedScopes' in login result
We're working on a game that is supposed to be served on the Facebook canvas (WebGL build). We're using Unity 5.2 and Facebook SDK 7.2.0.
After the recent SDK release, we're having troubles with ...
0
votes
1
answer
870
views
unity3d - can't show facebook profile image on the device ( simulator works perfect )
I am using Unity3d (c#) with facebook API. I try to show my profile image on the screen when I run it on the unity simulator everything works perfect and I got the image. but when I build a version ...
0
votes
0
answers
384
views
FB.Init fails trying to convert Int32 to Char
The Facebook API works when it's in the Unity Editor but not on the Facebook Canvas. I receive this error in the development console:
>OverflowException: Value is greater than Char.MaxValue or ...