facebook - login,get facebook friends,share feed script
using System.Collections; using System.Collections.Generic; using UnityEngine; using Facebook.Unity; using UnityEngine.UI; using System; public class demo : MonoBehaviour { // public GameObject Panel_Add; public Text FB_userName; public Image FB_useerDp; public GameObject friendstxtprefab; public GameObject GetFriendsPos; private static readonly string EVENT_PARAM_SCORE = "score"; private static readonly string EVENT_NAME_GAME_PLAYED = "game_played"; private void Awake() { // FB.Init(SetInit, onHidenUnity); // Panel_Add.SetActive(false); if (!FB.IsInitialized) { FB.Init(() => { if (FB.IsInitialized) ...