コード例 #1
0
        public async Task <JObject> RequestInformation(string[] fields = null)
        {
            string fieldsStr = string.Empty;

            if (fields != null)
            {
                fieldsStr = string.Join(",", fields);
            }
            var response = await FacebookClient.GetAsync($"/me?fields={fieldsStr}", _authToken);

            return(response);
        }
コード例 #2
0
        public async Task <JObject> RequestMetaData()
        {
            var response = await FacebookClient.GetAsync($"/{FacebookClient.GraphApiVersion}/me?metadata=1", _authToken);

            return(response);
        }