logo
down
shadow

Unity Facebook API - FB.API() Syntax


Unity Facebook API - FB.API() Syntax

Content Index :

Unity Facebook API - FB.API() Syntax
Tag : facebook , By : Matthew Steed
Date : November 28 2020, 09:01 AM

it should still fix some issue You can see in that documentation that the picture is not a field of the user, but an extra edge, which can be retrieved by requesting /me/picture:
FB.API("/me/picture",HttpMethod.GET,delegate(IGraphResult result) {
    if (string.IsNullOrEmpty(result.Error))
    {
        Debug.Log("received texture with resolution "+result.Texture.width + "x" + result.Texture.height);
        profile_picture.sprite = Sprite.Create(result.Texture, new Rect(0,0,128,128), new Vector2(0,0));
    }
    else
    {
        Debug.LogWarning("received error="+result.Error);
    }
});

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

Facebook Unity SDK has error when send request with custom friends in Unity Webplayer


Tag : facebook , By : Eran Yahav
Date : March 29 2020, 07:55 AM
this one helps. One of the Facebook software engineers here. Are you passing in null to the data or title param for FB.AppRequest()? There's a bug where it doesn't handle that correctly currently. Either exclude that or pass in an empty string. We'll get that fix ASAP.
for finding that.

Unity 2017 Facebook Init error AndroidJavaException: java.lang.ClassNotFoundException: com.facebook.unity.FB


Tag : android , By : Jesse
Date : March 29 2020, 07:55 AM
I hope this helps . Got it working in Unity 2017 by double checking all my settings and switching from Gradle back to internal build.

Unity Facebook Login doesn't work on release mode on Unity


Tag : chash , By : Xander
Date : March 29 2020, 07:55 AM
hop of those help? I solved!
I changed minify mode to "none" in the Publishing Settings at the Player Settings, it works properly

Do I have to write a privacy policy if i'm using unity analytics or unity advertisement or facebook sdk


Tag : unity3d , By : Zelos
Date : March 29 2020, 07:55 AM
will be helpful for those in need You need a privacy policy, but you don't necessarily have to write one yourself. On the Unity forums, if you're using Unity Analytics and Unity Ads, they recommend using the following link for your privacy policy when publishing to the Google Play Store:
https://unity3d.com/legal/privacy-policy

Old version of Unity WebPlayer binary gets loaded from cache, using Facebook Unity integration


Tag : facebook , By : Fred Morrison
Date : March 29 2020, 07:55 AM
Related Posts Related QUESTIONS :
shadow
Privacy Policy - Terms - Contact Us © scrbit.com